Exforsys
+ Reply to Thread
Results 1 to 3 of 3

Problem with Loadrunner

This is a discussion on Problem with Loadrunner within the Software Testing forums, part of the Testing category; Hi Friends, I am having some problem with loadrunner actually i have downloaded Loadrunner sucessfully......... webserver has started and i ...

  1. #1
    nehasahu is offline Junior Member Array
    Join Date
    May 2007
    Answers
    15

    Problem with Loadrunner

    Hi Friends,

    I am having some problem with loadrunner actually i have downloaded Loadrunner sucessfully.........
    webserver has started and i am able to open my mercury application.
    I did the recording successfully but when i run my script its giving following error
    ===================================================
    Warning: Extension LrXml.dll reports error -1 on call to function ExtPerThreadInitialize
    Error: Vuser failed to initialize extension LrXml.dll.
    Vuser Terminated.
    ===================================================
    and my script is not running ...

    Please not one more thing that when i record my scripts some extra junk things are also getting recored I have pasted it belowBOLD) Really dont know why that Yahoo thing is getting record ...although before recording i make sure that nothing else is running on my machine except LR.
    ======================================================
    vuser_init()
    {
    web_reg_find("Text=Mercury Tours", LAST);
    web_add_cookie("B=7gmv6pt2qfhqr&b=3&s=fo;DOMAIN=us.update.toolbar.yahoo.com");
    web_add_cookie("SO=v=0.4&t=1176959256;DOMAIN=us.update.toolbar.yahoo.com");
    web_add_cookie("Q=q1=AACAAAAAAAAAAA--&q2=Rm9Wmg--; DOMAIN=us.update.toolbar.yahoo.com");
    web_add_cookie("F=a=L_B2wd8MvT2DFfbe2NDWpLduQHfnqjszz77t_JDGGxsAacg0DM23F0z_Go7wU2lF63YY3ICS_keT4J6ImL.8cznsydDmY7PCOep9MjZdYRJe.7R.1qIVhi6holnPrk8UhqnRg3XtMMHQvhx3lw--&b=.s03; DOMAIN=us.update.toolbar.yahoo.com");
    web_add_cookie("U=mt=F5mKwJ2MhYoeJYa9vJ3SFtgwYu4duh7JxvA15Q--&ux=IPjmGB&un=c8efqqd2uklsa; DOMAIN=us.update.toolbar.yahoo.com");
    web_add_cookie("YLS=v=1&p=0&n=0;DOMAIN=us.update.toolbar.yahoo.com");
    web_add_cookie("C=mg=1; DOMAIN=us.update.toolbar.yahoo.com");
    web_add_cookie("CP=v=60306&br=i&sp=;DOMAIN=us.update.toolbar.yahoo.com");
    web_add_cookie("Y=v=1&n=c8efqqd2uklsa&p=;DOMAIN=us.update.toolbar.yahoo.com");
    web_reg_find("Text=Mercury Tours", LAST);

    web_reg_find("Text=Mercury Tours", LAST);

    web_reg_find("Text=Mercury Tours Navigation Bar", LAST);

    web_url("mercuryWebTours",
    "URL=http://127.0.0.1:1080/mercuryWebTours/",
    "Resource=0",
    "RecContentType=text/html",
    "Referer=",
    "Snapshot=t1.inf",
    "Mode=HTML",
    EXTRARES,
    "Url=http://us.update.toolbar.yahoo.com/slv/v4/1.html?.pc=&.a=0&.ta=cgnone,ccnone,cius,cv6_3_6,cp&.cv=1&.cs=p,1f75c331a3fbd208,b,3dd5169b5c149e36&.pb=0&t=8757843", "Referer=", ENDITEM, LAST);

    web_reg_find("Text=Mercury Tours", LAST);

    web_reg_find("Text=Welcome to Mercury Tours", LAST);

    web_reg_find("Text=Mercury Tours Navigation Bar", LAST);

    lr_think_time(90);

    web_submit_form("login.pl",
    "Snapshot=t2.inf",
    ITEMDATA,
    "Name=username", "Value=jojo", ENDITEM,
    "Name=password", "Value=bean", ENDITEM,
    "Name=login.x", "Value=49", ENDITEM,
    "Name=login.y", "Value=11", ENDITEM,
    LAST);

    web_reg_find("Text=Mercury Tours",
    LAST);

    web_reg_find("Text=Mercury Tours Navigation Bar",
    LAST);

    web_reg_find("Text=Flight Selections",
    LAST);

    web_image("Search Flights Button",
    "Alt=Search Flights Button",
    "Snapshot=t3.inf",
    LAST);

    lr_think_time(17);

    web_url("FormDateUpdate.class",
    "URL=http://127.0.0.1:1080/mercuryWebTours/FormDateUpdate.class",
    "Resource=0",
    "RecContentType=text/html",
    "Referer=",
    "Mode=HTML",
    LAST);

    web_url("CalSelect.class",
    "URL=http://127.0.0.1:1080/mercuryWebTours/CalSelect.class",
    "Resource=0",
    "RecContentType=text/html",
    "Referer=",
    "Mode=HTML",
    LAST);

    web_url("Calendar.class",
    "URL=http://127.0.0.1:1080/mercuryWebTours/Calendar.class",
    "Resource=0",
    "RecContentType=text/html",
    "Referer=",
    "Mode=HTML",
    LAST);

    web_reg_find("Text=Mercury Tours",
    LAST);

    web_reg_find("Text=Mercury Tours",
    LAST);

    web_reg_find("Text=Mercury Tours Navigation Bar",
    LAST);

    web_url("welcome.pl",
    "URL=http://127.0.0.1:1080/mercuryWebTours/welcome.pl?signOff=1",
    "Resource=0",
    "RecContentType=text/html",
    "Referer=http://127.0.0.1:1080/mercuryWebTours/nav.pl?page=menu&in=flights",
    "Snapshot=t4.inf",
    "Mode=HTML",
    LAST);

    return 0;
    }
    =====================================

    Please help me out


  2. #2
    Abhilash M is offline Junior Member Array
    Join Date
    Oct 2008
    Answers
    1

    problem while replaying the scripts.

    Hi,
    I am getting this error while repalying a recorded script. Please help.

    Warning: Extension LrXml.dll reports error -1 on call to function ExtPerThreadInitialize
    Error: Vuser failed to initialize extension LrXml.dll.
    Vuser Terminated.


  3. #3
    neohoney is offline Kamran Khan Array
    Join Date
    Nov 2008
    Location
    Lahore, Pakistan
    Answers
    1
    I m surprised to see there was no answer since july 2007 and you might have found out the solution

    anyway, you have some tool bars installed in your system. Please remove the yahoo tool bar. thats it. Be sure not to have extraneous programs which could potentially intervene with your testing or results.


    Sincerely,
    Kamran Khan

    If anyone wishes to talk about WinRunner, QTP or LoadRunner, please add me on msn:
    neohoney # hotmail.com


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...