i have a scenario where i need to create a POST login API virtual service
1. We have a login page which accepts username and password.
2. On click of submit button Login API is called which is a POST method.
3. So how to create POST API virtual service using ReadyAPI ServiceV tool.
Here is the Tutorial for ServiceV: https://support.smartbear.com/readyapi/docs/servicev/tutorials/creating-virt/basic-concepts.html
Thanks for the reply.
I had a look at the solution, but i am still unable to indentify how to add/send "Username and Password" in the body of Post Request.
For Get method, i can use "Parameter" under Dispatch style and add the username and password as Query, but for POST how to achieve it..
You can always use the Script Dispatch Style: https://support.smartbear.com/readyapi/docs/servicev/configure/dispatch/script.html
Maybe, the XPath will also suite you: https://support.smartbear.com/readyapi/docs/servicev/configure/dispatch/xpath.html