cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to programmatically test services with different variables?

david2
New 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

Re: Best way to programmatically test services with different variables?

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



Regards,
Rao.
david2
New Contributor

Re: Best way to programmatically test services with different variables?

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

Re: Best way to programmatically test services with different variables?

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


Regards,
Rao.
ChrisAdams
Community Leader

Re: Best way to programmatically test services with different variables?

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
New Contributor

Re: Best way to programmatically test services with different variables?

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

Re: Best way to programmatically test services with different variables?

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
Community Manager

Re: Best way to programmatically test services with different variables?

Thank you Chris and Rao!

 

Hi @david2 ! Were you able to solve this?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
david2
New Contributor

Re: Best way to programmatically test services with different variables?

Not entirely.

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors