Ask a Question

unable to send multiple query param with different key value pair

Dhirajkumar9536
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
richie
Community Hero

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
nmrao
Community Hero

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


Regards,
Rao.
HimanshuTayal
Community Hero

@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,
Remember to give "Kudos" 🙂 ↓↓↓↓↓



Thanks and Regards,
Himanshu Tayal
sonya_m
SmartBear Alumni (Retired)

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

cancel
Showing results for 
Search instead for 
Did you mean: