Ask a Question

Best way to programmatically test services with different variables?

david2
Occasional Contributor

Best way to programmatically test services with different variables?

Hello! I need to test a service with multiple variables to a SOAP request. What is the best way to test this without Cloning Test Cases? The sticking point is that I need to see the individual responses for each run of the Test Case sent. Is this possible?

8 REPLIES 8
nmrao
Community Hero

The data driven approach is suitable for that based on what I understand from the question.



Regards,
Rao.
david2
Occasional Contributor

What is the data driven approach in regards to SOAP UI Test Suites? Can you walk me through the steps I would use to set up my test cases? Thank you for your reply. I appreciate it.

nmrao
Community Hero

Hope below video helps!
https://youtu.be/AFtyMUiD-5s


Regards,
Rao.
ChrisAdams
Community Leader

Hi,

 

Rao is on the money here.  Data Driven Tests (https://www.soapui.org/docs/data-driven-tests/functional-tests/ ) allow you to use a source of data, e.g. Excel, and take each value from the row and add it to a request.

 

IMHO, this is the standout feature of ReadyAPI.

david2
Occasional Contributor

Thank you. It looks like it only gets the HTTP status code returned rather than the full response for each method call. Is there a way to get the full response for each call to the API service?

nmrao
Community Hero

May be that is an exceptional case where no response is returned, may be a REST API. That is not always true and depends on how the services are implemented.

Have a look at the below one
https://www.youtube.com/watch?v=gMzQLnG2ifA


Regards,
Rao.
sonya_m
SmartBear Alumni (Retired)

Thank you Chris and Rao!

 

Hi @david2 ! Were you able to solve this?


Sonya Mihaljova
Community and Education Specialist

david2
Occasional Contributor

Not entirely.

cancel
Showing results for 
Search instead for 
Did you mean: