Post processors refer

Hello!
I am new to apidog but anyway I manage to create my request everything is fine.

Now I would like to parse the response and turn a part of it into a var I can then reuse in another request.
So I am using post processors for this.
My response look like this « attribut1=value&atrribut2=value2 »
I would like to have 2 env var.
I tried to put a regex to catch the value but what should I write in Template field ? Should it be something like « attribut1=$1 » so no need to have a regex ?
Finally how can I easily test that my post processors is working fine ?

I could not find any help online about this unfortunately

Thank you in advance

About the RegExp you can try using following to extract it /attribut1=([^&]+)/


About testing the processors, you need to send the request again to test it for now. We might add feature to support easily test the Extract Expression in extracting Response TEXT post processors.

And you can try it out using JSONPath Expression tools while extracting Response JSON. It will be similar features.


Hi Karan ,
Sorry for this late answer.
I manage to test this, it is working fine ! Thank you !

Just one feedback, I am new to apidog, I was a bit lost until I realize that there s a design and debug mode. This was not obvious at all for me and even the buttons are not really visible.

Anyway, I am going to continue discovering the tool :slightly_smiling_face:

Thank you for the feedback. We have noted this issue and will optimize the interaction here to provide a better user experience for new users🤝