1
votes

I am able to have my test plan set up as so: Thread Group > While Controller > SOAP/XML-RPC Request > CSV Data Set Controller & Response Assertion. When I have one element it is ok, but when I loop through a CSV I get failed.

How do you loop through a CSV (that contains the input parameter values I want to test with) and set an assertion for each please?

E.g. I want to test a currency converter. My Excel sheet contains these rows: USD,EUR EUR,GBP GBP,USD

The jmeter test plan will loop through my Excel and inject each of those parameter pairs to my web service. USD,EUR should return 0.9216, EUR,GBP should return 0.729 etc.

Thanks!

1

1 Answers

1
votes

Check the 'CSV Data Set Config' in this post. If it does not clarify, please let me know with your question.

http://www.testautomationguru.com/how-to-test-rest-api-using-jmeter/