cancel
Showing results for 
Search instead for 
Did you mean: 

JSON request parametrization

SOLVED
Yuliya
New Contributor

JSON request parametrization

Hi,

 

I have a post request with json body which have to be parametrized:

{"Uid": "${Uid}", "CorrelationID": "${CorrelationID}",

where Uid and CorrelationID are values that I need to run in loop from file.

Here I find solutions for Groovy script. Is this the only way to parametrize values? I see Parameters Table, can I use it somehow?

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
New2API
Frequent Contributor

Re: JSON request parametrization

Hello there, are you using soapui OS or pro version?

Looping through values means data driven tests. Pro version gives you advantage here with its point and click DDT feature.

Data driving could be achievable in open source via groovy. 

View solution in original post

2 REPLIES 2
New2API
Frequent Contributor

Re: JSON request parametrization

Hello there, are you using soapui OS or pro version?

Looping through values means data driven tests. Pro version gives you advantage here with its point and click DDT feature.

Data driving could be achievable in open source via groovy. 

View solution in original post

Yuliya
New Contributor

Re: JSON request parametrization

Hello, OS version. Thank you for your answer.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors