cancel
Showing results for 
Search instead for 
Did you mean: 

unable to send multiple query param with different key value pair

Highlighted
Occasional Visitor

unable to send multiple query param with different key value pair

unable to send multiple query param with different key value pair : 

 

URL = http://myendpoint.com/customers?Id=111&FROMDATE=2020-05-10&TODATE=2020-05-20`

 

I can data drive ID using property expansion : ${#TestCase#ID}

 

BUT,Unable to retrieve data for from date and to date using Either property expansion or Groovy Script.

4 REPLIES 4
Highlighted
Community Hero

Re: unable to send multiple query param with different key value pair

Hi @Dhirajkumar9536,

Can you provide more info? What youre asking is straightforward to achieve in ReadyAPI!, so we'll need more info to work out the problem.

You say you cant generate the query parm date values but why not? What is actually happening when you try?
What does the logging indicate?
What mechanism are you using for the property expansion?
Where are you sourcing the date values from?
Screenshots?

The more, concise info you provide the quicker someone will be able to respond with the solution.

Ta

Rich


if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Highlighted
Community Hero

Re: unable to send multiple query param with different key value pair

Do you mean you are able to call the service manually but not with data driven way?


Regards,
Rao.
Highlighted
Community Leader

Re: unable to send multiple query param with different key value pair

@Dhirajkumar9536 :

 

Where is your from date and to date is stored?

In same test case's custom property?

 

Could you please share any screenshot for more details.


Click "Accept as Solution" if my answer has helped, and remember to give "kudos" 🙂 ↓↓↓↓↓



Thanks and Regards,
Himanshu Tayal
Highlighted
Community Manager

Re: unable to send multiple query param with different key value pair

Thank you for great help, Community!

 

@Dhirajkumar9536 Looks like you got a lot of replies 🙂 Please provide more info and the ReadyAPI Community will be happy to help.


Sonya Mihaljova
Community and Education Specialist
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
The new challenge is here!

Create a script to сhange an XPath Match assertion to a JSONPath Match assertion for the TechCorner tag!


Scripts created in July:
- A script to generate an email when an assertion fails
- A script to change the request body before sending it to the server
Top Kudoed Authors