Vicky
Vicky

Reputation: 39

In Jmeter how to pass Date as String/text

I need to pass a date (12/12/2016) as a Text parameter to a Post request. It picks %2f instead of '/'. how do i pass this as string with date having slash.

Upvotes: 1

Views: 725

Answers (1)

Naveen Kumar R B
Naveen Kumar R B

Reputation: 6398

I tried to send date value as Text/string in parameters tab. whether I select/unselect Encode? parameter, sending by encoding the date value.

Keeping the value in Body Data section worked for me.

So, try by moving all the Post data into Body Data section instead of Parameters section.

enter image description here

Upvotes: 1

Related Questions