cancel
Showing results for 
Search instead for 
Did you mean: 

How to Handle dynamic QUERY Style key-value parameters in my request url?

SOLVED
New Contributor

How to Handle dynamic QUERY Style key-value parameters in my request url?

Hello all,

 

When setting up a VirtAction with a path variable, I can use that variable from within the response. For instance, a VirtAction api/v1/clients/{client_id} will create a variable named client_id which I can now use in the response.

 

How can I do the same name with query (non path) parameters? Is there a way ServiceV Pro can store these query parameters into variables that I can use in the response message?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: How to Handle dynamic QUERY Style key-value parameters in my request url?

Hi,

 

If I got your question right, Script dispatch strategy may work for you: https://support.smartbear.com/readyapi/docs/servicev/configure/dispatch/script.html

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
1 REPLY 1
Highlighted
Community Hero

Re: How to Handle dynamic QUERY Style key-value parameters in my request url?

Hi,

 

If I got your question right, Script dispatch strategy may work for you: https://support.smartbear.com/readyapi/docs/servicev/configure/dispatch/script.html

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video