Ask a Question

Can ReadyAPI tool generate payload for APIs requests??

SOLVED
Rajendra92
New Contributor

Can ReadyAPI tool generate payload for APIs requests??

hi respected,

 

Can ReadyAPI tool generate payload for APIs requests??

for example I've /login POST api, the required payload template is {"username":"string","password":"string"}.

Does the ReadyAPI tool produce a combination of different payloads ??

5 REPLIES 5
ZDGN
Contributor

Hi @Rajendra92 ,

 

If you're really dealing with ReadyAPI, you should post in the dedicated part of the forum.

By the way, you could try using the DataSource:
https://support.smartbear.com/readyapi/docs/functional/steps/data-source.html 

 

If it's all about SoapUI, you can easily manage your payload with Groovy script.

 

Can you tell us in which case you're involved ?

 

David.

Hi David.

 

sorry for the inconvenience, am using Trial version ReadyAPI tool....so.... it's ok.

 

yesterday i got know that, i can manage payloads using the DataSource.

How can i mange payload using groovy scripts?? do you have any examples or link ??

 

regards,

Rajendra

nmrao
Champion Level 3

Here is the ReadyAPI documentation for data source
https://support.smartbear.com/readyapi/docs/functional/steps/data-source.html

You can find the details for Groovy as Data Source in the above link.


Regards,
Rao.
nmrao
Champion Level 3

By the way, it is easy create a data source file in such as csv / json / excel and use that in Data Source step.
That would be simple than Groovy Data Source if some one is new to the tool or not good at groovy.


Regards,
Rao.
nmrao
Champion Level 3

Use data-driven tests in ReadyAPI for your use case.


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: