Closed inkstain closed 1 year ago
Thanks for reporting the issue. It turns out that test scripts are not working properly on Windows. Will fix it asap.
Many thanks!, I was fearing the scary alternative, "User error" on my side :D
Thanks! I came across JetClient today too. This looks promising and should be able to ditch Postman and add one more thing we can do from within Postman!
Thanks for reporting the issue. It turns out that test scripts are not working properly on Windows. Will fix it asap.
Just out of curiosity what would the turnaround be for this fix? Looking at this plug-in to use in our environment at work and will have to justify the extra cost. We use the pre-request and test features in Postman so this bug would be a show stopper.
The fix is ready. It will be available once approved by the JetBrains team, which can take up to 2 business days.
The bug is fixed, please update to version 2023.1.8.
Describe the Issue
I have some requests that work in http-client in PyCharm that I want to forklift into JetClient
a POST request works fine if the Tests tab is empty, but as soon as I include the following:
jc.globalVariables.setEnv("job_id", jc.response.json().job.id, "Talkdesk")
and rerun the request I get the error. I am trying to parse the response from this request to assign a variable, 'job_id' to use in subsequent requests. The relevant code in the http-client works fine with the following:
> {% client.global.set("job_id", response.body.job.id); %}
I am completely new to JetClient (just subscribed) and have very little experience with PostMan though I have it installed so I might be missing something simple, but this does work on the http-client
Steps to reproduce?
Operating System
Windows
IDE
Pycharm 2023.1 (Professional Edition)
JetClient version
2023.1.7-231
Relevant log output
Screenshots, Videos, Additional Context
No response