5 Answers, 1 is accepted
Have you explored the Verification steps, which you can include in an API test? I guess that these will help you to accomplish the first requirement mentioned in your query.
Then, as far as I understand you would like to include the API test within a web one and use the data collected from the API calls. If this is correct, then you will need to include the API test as a step in a web test and pass the necessary variables to it. I can recommend a blog post on the topic, which fully covers the scenario and will help you understand the feature in details.
I hope the shared information will be helpful for you and of course, in case you have any other questions, I will be glad to assist further.
Thank you in advance for your cooperation.
Thanks for the reply.
I'm trying to parametrize the HTTP request in the json format. hwever i'm getting 404 error code.
Sample HTTP Request
Could you please advice on this scenario.
It seems that you currently work in the API testing project and need to adjust the variables in the HTTP request step. To be able to parameterize such a request, you can define variables in a Set Variable step or in a Verification step.
For further reference on flawless getting started with the API testing you can go through the following blog post and also take some time to review the sample project included in the installation.
I hope the above details will help you sort out what is still missing in your project. However, if you still have troubles with that, please prepare a sample project and send it for further investigation.
Thank you in advance for your time and cooperation.
Thanks for providing the information
I am glad to know the information will be helpful for you. Of course, if you have further questions or doubts, please do not hesitate to get back to us.