JetClient / jet-client-support

JetClient is an advanced REST API Client plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/21173-jetclient
110 stars 0 forks source link

Script not work #99

Closed light-developer closed 3 months ago

light-developer commented 3 months ago

Describe the bug

Script not work (My Response is json, but script still fail (It is good on postman) Jet Client image: (I use jc. still not work) image image

Postman image: image image

Environment information:


Other note: Can I create pm variable global (pm = jc) for convenient with postman script when import

AntonShuvaev commented 3 months ago

jc.response is undefined in the pre-request script. You should write your test in the post-response script.