Extract the values from Payload request and use in Webpage to display records
Dear Experts
I am newbie to SOA test. and my requirement(s) are below with Rest Service and SFTP
Scenario1:
1) Run a POST method with JSON payload.in Request. Here response will be empty only 204 No content status code appears
2) Automatically launch a web page, and records should display, by automatically taking the values from JSON Payload from Request
Scenario2:
1) Run a POST method with a text file (which contains either JSON payload or name-value format) Here also response will be empty only 204 No content status code appears
2) Automatically launch a web page, and records should display, by automatically taking the values from contents of file
Please help.
Thanks,
0
Comments
Your first test would use a REST Client tool to perform the POST.
Your next test would use a Browser Playback tool with Navigate action configured.
Thanks! But how can I extract the attributes from Payload and use in launched Web page
Please help
Use a JSON Data Bank to extract the values from the payload. Then in the Browser Playback Tool you will be able to use the parameterized values from the data bank.
Thanks! Can this be done without virtualization? If yes, please let me know.. Am using 9.9 version.
Yes - what we are describing can be done using SOAtest only.
Thanks..will try and share the info..