11 years ago
XML -> JSON conversion, creating requests in JSON format
Hi,
I'm totally new here, I hope this will be a relevant question and hasn't been answered 100x times already - I've tried the search and official documentation but didn't come up with anything that could answer my question.
I have an existing soapUI project with regression tests in XML format (including support/setup scripts). We are now switching to JSON format and I need to create a mirror soapUI project, but with JSON requests instead. I've already converted our requests from XML -> JSON and the requests are now in such format:
{
"last_name": "smith",
"email": "12345@abc.com",
"address": {
"street": "abc",
"postcode": "12345"
}
}
My question is: is there a way I can now paste the JSON requests (as above) into a new REST soapUI project? I have tried creating sample rest projects but couldn't find anywhere to paste the request as it was possible with XML.
Thanks in advance,
Wldmr
I'm totally new here, I hope this will be a relevant question and hasn't been answered 100x times already - I've tried the search and official documentation but didn't come up with anything that could answer my question.
I have an existing soapUI project with regression tests in XML format (including support/setup scripts). We are now switching to JSON format and I need to create a mirror soapUI project, but with JSON requests instead. I've already converted our requests from XML -> JSON and the requests are now in such format:
{
"last_name": "smith",
"email": "12345@abc.com",
"address": {
"street": "abc",
"postcode": "12345"
}
}
My question is: is there a way I can now paste the JSON requests (as above) into a new REST soapUI project? I have tried creating sample rest projects but couldn't find anywhere to paste the request as it was possible with XML.
Thanks in advance,
Wldmr