Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: Can I write Java code in LoadRunner with Java over HTTP protocol?

$
0
0

Hi,

 

I am using LR 11.52 with JDK 1.7. 

I am using trial version to evaluate its features for Java applets embeded web applications used by our company.  

 

Here is the portion of java code which is httting the issue:

  public static void global_init() throws FileNotFoundException {
    if (ready == false)
      synchronized (lock) {
        if (ready == false) {
        ArrayList<Shifts> shifts = new ArrayList<Shifts>(); // This is the place exception thrown access violation...
        shifts = readCSV("requestBody11.csv",shifts);
        replaceVariables(shifts,"requestBody11.xml");
        RequestObjectListBeanBA0=XmlBasedBinMemoObjectParsing.xml2bin("requestBody8.xml");
        RequestObjectListBeanBA1=XmlBasedBinMemoObjectParsing.xml2bin("requestBody9.xml");
        RequestObjectListBeanBA2=XmlBasedBinMemoObjectParsing.xml2bin("requestBody10.xml");
        ShiftEditorBeanBA3=XmlBasedBinMemoObjectParsing.xml2bin("requestBody11.xml");
        KBeanBA4=XmlBasedBinMemoObjectParsing.xml2bin("requestBody12.xml");
    ready = true;
        }
      }
  }


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>