What's the correct syntax to invoke a HTTP Get using the LoadRunner API (VUGEN 9.52.0.0) in C#? The following generates an AccessViolationException:
LoadRunner.WebApi web = new LoadRunner.WebApi();
web.url("GoToMyService", "http://path/to/my/service/", new string[0], "LAST");
Exception thrown by call to web.url
:
Error: Action.cs(25): System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at LoadRunner.WebApiClass.url(String name, String urladdr, Object options, Object extrares)
at Script.VuserClass.Action() in h:\Personal\_projects\LoadTest\Action.cs:line 25