I am sending a xml request by POST method to a portal. After sending the request, the response will display in portal. My scenario is to get the same response from portal to Katalon and verify the response id. Can anyone please help me how to achieve this scenario.
First of all, it would be of great help if you could maybe show us a screenshot of what you are dealing with, a diagram, or some scripts, etc. so that we, and other members can get more context.
And second, is this related to Katalon Studio? I am asking so that I could move your topic to the corresponding category for it to get more visibility. Thanks
The payloadID which I am sending in request, that I want to get back in response.
But Response is giving 200 OK.
So looking for any way using which I can get the response back in katalon.
One more thing How can I use certificate in katalon.
Hi, there are a couple of courses on how to use Katalon Studio for API testing. Link here. You can scan through the content and check if it has what you need.
You seem to expect that Katalon Studio is capable to control what content the server to send back as response. But, it would not be the case.
Your server side application descides what content it sends back as response. You should, at first, check the specification how the server side app works and find out how to let the app to behave as you want it to.
Thank you for your response.
I want to know whether through any external url or plugin integrating in katalon, I can get back the response?
Appreciate your help
I read the documents, but I could not see how to get the HAR file (JSON text). There seems to be no keyword that gets you access to the .har file. Why? → @vu.tran
Just checking in if you were able to find the answer you need in this thread or not.
If yes, then please don’t forget to mark helpful replies as a solution so that others who may be asking similar questions / running into similar problems can find the solution as well!
I could not find this important sentence in the official documentation. Nowhere. Why not you revise the doc?
I looked at the Reports folder of one of my API test projects. I used v8.3.0 of Free plan Katalon Studio, not Enterprise version.
Using my favorite editor, Yes, I found the *.har files in the Reports directory.
However I could not see the har files in the Katalon Studio GUI. When I clicked the directory, a modal dialog appeard “Uh oh … This is an exclusive feature of Studio Enterprise”, “No worries. Just upgrade the Enterprise feature too unlock all powerful capablilities”.
Now I understand the the HAR file is designed for the Katalon Studio Enterprise users only. Free plan users are not supposed to see it. The official documentation should clearly explain this point as well.
Well, I don’t really mind this treatment. In fact, I would never open HAR files in Katalon Studio which provides no support for viewing/editing a large JSON text. I would certainly open HAR files in Visual Studio Code with the HAR Viewer plugin as I mentioned previously.
Thanks @kazurayam,
We’ll revise and update the doc accordingly.
It’s actually true that you cannot see the .har files in Katalon Studio GUI. As the screenshot I showed you above, from Studio, I need to right-click on the Report folder and choose Open containing folder to navigate to the folder containing my .har file.
However, another way to view the .har file is right in the Console log of that execution, like in this screenshot:
When you execute a certain testcase, the path to the generated .har is shown in the log.
For Linux looks like are generated into the /tmp folder, I suppose later are copied from there into the actual Reportsonly if the test execution was in a suite.
You can see the path to it either in Log Viewer: