Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Test Automation for API tests

I would like to set up automated tests, to test APIs. To be more precise, for example I want to send out HTTP Requests (POSTS) and test the Responses. Therefore, it got to be headless browser testing.

I have setup Selenium along with NUnit and Phantom JS as a Driver. Tests are written in C# and I am using Visual Studio as an IDE.

I have been googling a lot, but I dont seem to find particular answers to my questions for the combination mentioned above.

Does the combination above allow me to write tests to test APIs or rather send and receive HTTP Requests and Responses ?

like image 244
Pita Avatar asked Sep 30 '22 05:09

Pita


1 Answers

One solution that you might want to consider is using Runscope. Runscope provides the ability to create tests that send one or more HTTP requests. You can use information from one request to drive the next request. You can schedule the tests to run periodically, or you can trigger them using a webhook.
You can also get the tests to run from different data centers around the world for testing response times.

There is a free tier that allows up to 10,000 requests per month.

Disclaimer: I work as a developer advocate for Runscope.

like image 153
Darrel Miller Avatar answered Oct 18 '22 23:10

Darrel Miller