Controller display error if script is run for multiple Vusers

  • Questions
  • Controller display error if script is run for multiple Vusers
Question ID: 104503
12
0

I have scripted a form which has radio buttons, image buttons, buttons, text fields and many more stuff.
I am did javascripting to get objects of forms controller..let say radio button…
for example.
var rdobject = document.getElementById("select:onlineStatus:1");
rdobject.checked=true;

When we run the script in Vugen then it runs perfectly and when we run the same script in controller then it runs perfectly for 1,2,4,5 Vusers but we run it for 6,….10 then it shows errors like:

t=00038369ms: Error -203252: ** 9: Evaluate JavaScript code var rdobject = document.getEle…t.checked=true; ** failed – exception occured: TypeError: rdobject is null [MsgId: MERR-203252]

If I disable javascript step and enable the record & play clicked event of radio button then it shows error:

"radio button object is not found"

In both cases, it shows error for multiple Vusers. Any idea what I need to do??

Marked as spam
Posted by (Questions: 4, Answers: 5)
Asked on April 18, 2012 1:51 am
14 views
Answers (1)
0
Private answer

It looks like you are trying to use a null parameter. Turn on Parameter Substitution in your Run Time Settings, then when the error occurs, you can check the contents of the data that you are sending to the server.

Marked as spam
Posted by (Questions: 23, Answers: 4)
Answered on August 10, 2015 7:02 pm