Automate put body content based on OpenApi
Hi there,
I'm evaluating whether ReadyApi fullfills our needs to be our Rest api testing tool of choice. I realised that ReadyApi does a really good job on generating a simple body for a put request based on the schema in the OpenApi documentation. Realising this, I was wondering whether there is a possibility that it automatically runs the put command with randomized values for the objects in the body.
For example we have a put request which sets the current date and the body that ReadyApi generated from the OpenApi looks like this:
{
"year" : 2022,
"month" : 3,
"day" : 7
}
now it would be awesome if instead of entering numbers it could enter some sort of variable that could be randomized using the Data Source Loops or is that a step that I would have to do manually? Theoretically all the information for the allowed values would be in the OpenApi.
Thanks,
Lennart
LennSar
The ReadyAPI request will contain whatever Request Body example is defined in the OpenAPI spec. But as for generating a datasource from that, currently its not available.