Unanswered question

Issue with Parameter Replacement during replay

While running a userpath via Check Userpath functionality. The replay is not picking up the parametrized value and passing the parameter name as the value.

Eg. The file parameter is created by the name SLO_ServiceRequest and has a column SRNo. the value in the userpath is replaced as ${SLO_ServiceRequest.SRNo} but during replay the replacement doesn't work. which means instead of passing the value 12345678 the value in the request is …../str=%24%7BSLO_ServiceRequest.SRNo%7D/…..

Screenshots of parameter and replacement as displayed below:

Shubhendu M.
Shubhendu M.

Shubhendu M.

Level
0
14 / 100
points

Answers

In your request we can see that the name of your variable is ${SLO_ServiceRequest.SRNo} but the name of the variable in the Variable manager is ${8SLO_Milestone.SRNo}

So you are looking at the wrong variable. You should check if that variable ${SLO_ServiceRequest.SRNo} does exist.

Shubhendu M.
Shubhendu M.

Shubhendu M.

Level
0
14 / 100
points

Hi,

Apologies for the confusion. Please ignore the screenshot. Below is the problem statement.

The file parameter is created by the name SLO_ServiceRequest and has a column SRNo. ${SLO_ServiceRequest.SRNo} but during replay the replacement doesn't work. which means instead of passing the value 12345678 the value in the request is …../str=%24%7BSLO_ServiceRequest.SRNo%7D/

When NeoLoad does not replace a variable by its values it means that the variable does not exist when NeoLoad tries to use it. You said that it's a File variable so there's probably a typo error somewhere. Without screen shots or project i can't tell more.