TRUCLIENT WEB - HTTP SEND in EVAl JS not working
This is regarding the TruClient Web protocol. The issue, I am facing is - I am unable to make a http.send() (in eval JS)to 1 particular url in between my transaction.
The same code works in different part of the same script. But for some reason, I am unable to find what is causing the issue.
Transaction in which code works
The Code inside the Eval JS is below
const http= new XMLHttpRequest();
const url='http://<servername>:8086/write?db=rpt'; // this call works in above HomePage transaction but not in OPEN_Teams
TC.log("The data i am sending issss"+data_to_send, "Standard");
Transaction in which code DOES NOT works
I tried to debug the script, by running it when the fiddler is ON, but I dont find the call is made to that server. but the strange thing is - if i change it to some other url like google or yahoo, the call is made.
Basically this code, logs the response time of the transactions into the influx DB.
There is no change in the above code, except the Transaction Name. But for some reason, I am unable to call that particular server name.
Not sure, what i am missing. I thought if the script was corrupted and did the fresh recording and updated the changes, but found the same behaviour.
Re: TRUCLIENT WEB - HTTP SEND in EVAl JS not working
You write 'the same' code, the obvious question is then, did you change the transactions name (sorry for asking this).
Reward community members who take time to respond and help.