Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automated Web Service Testing

I would like to do some integration testing of a web service from within NUnit or MBUnit. I haven't delved into this too deeply yet, but I am pretty sure I will need to spin up WebDev.WebServer.exe within the "unit test" to do this. (I know it's not really a unit test).

Yes, I can test the underlying objects the web service uses on their own (which I am), but what I am interested in testing in this cases is that the proxies are all working and handled as expected, etc.

Any advice?

like image 616
jeremcc Avatar asked Aug 21 '08 19:08

jeremcc


People also ask

What is Web Service automation testing?

Web services test automation framework featuresCustomizable frameworks developed based on the need. Flexible test suites and test cases can be configured. Enables test script creation with minimal coding effort. Instantly sets the headers and assertions for SOAP requests. Easily parses the XML requests with inputs.

Can API testing be automated?

API automated testing is critical for product quality and CI/CD processes. Unlike GUI tests, API tests can cope with short release cycles and frequent changes — without breaking the test outputs.

Which tool is used for automation testing of web application?

Selenium is a very popular automated web testing tool. It consists of different tools, such as Selenium Grid and Selenium IDE. Selenium essentially enables automated testing of functional aspects of web apps. However, it's not designed for desktop and mobile application testing.


2 Answers

I asked the same thing (I think ...) I got a tip on SoapUI. It looks promising but I haven't had time to test it yet.

like image 57
Riri Avatar answered Sep 30 '22 03:09

Riri


I've had lots of success doing web testing with Selenium

I've used it on Linux and Windows for automated web testing of just about anything.

like image 41
user6955 Avatar answered Sep 30 '22 04:09

user6955