Error 27257 Pending web_reg_save_param........ During replay of script then script aborts

162 views
Skip to first unread message

Lance Day

unread,
Aug 22, 2013, 3:08:51 PM8/22/13
to LR-Loa...@googlegroups.com
When replaying the script pasted below, after the first iteration the error message below shows in the output file and the script aborts.;  If I comment out the last web_reg_find the reply runs without being aborted or errors.  Any thoughts on this out there?
 
ERROR:
Error -27257: Pending web_reg_save_param/reg_find/create_html_param[_ex] request(s) detected and reset at the end of iteration number 1   [MsgId: MERR-27257]
 
SCRIPT:
Action()
{

    lr_start_transaction("Search_1");

    web_url("sp1005039d.guided.ss-omtrdc.net", 
        "URL=http://sp1005039d.guided.ss-omtrdc.net/?q={Search_Terms}", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=", 
        "Snapshot=t1.inf", 
        "Mode=HTML", 
        LAST);

        web_reg_find("Text=</customer-results>",
        LAST);

    lr_end_transaction("Search_1", LR_AUTO);

    lr_think_time(2);

    lr_start_transaction("Search_2");
    
    web_url("sp1005039d.guided.ss-omtrdc.net_2", 
        "URL=http://sp1005039d.guided.ss-omtrdc.net/?q={Search_Terms}", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=", 
        "Snapshot=t2.inf", 
        "Mode=HTML", 
        LAST);
    
        web_reg_find("Text=</customer-results>",
        LAST);
    
    lr_end_transaction("Search_2", LR_AUTO);

    lr_think_time(2);    
    
    lr_start_transaction("Search_3");

    web_url("sp1005039d.guided.ss-omtrdc.net_3", 
        "URL=http://sp1005039d.guided.ss-omtrdc.net/?q={Search_Terms}", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=", 
        "Snapshot=t3.inf", 
        "Mode=HTML", 
        LAST);
    
        web_reg_find("Text=</customer-results>",
        LAST);
    
    lr_end_transaction("Search_3", LR_AUTO);

    lr_think_time(2);
    
    lr_start_transaction("Search_4");

    web_url("sp1005039d.guided.ss-omtrdc.net_4", 
        "URL=http://sp1005039d.guided.ss-omtrdc.net/?q={Search_Terms}", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=", 
        "Snapshot=t4.inf", 
        "Mode=HTML", 
        LAST);
    
        web_reg_find("Text=</customer-results>",
        LAST);

    lr_end_transaction("Search_4", LR_AUTO);
    
    lr_think_time(2);
    
    lr_start_transaction("Search_5");

    web_url("sp1005039d.guided.ss-omtrdc.net_5", 
        "URL=http://sp1005039d.guided.ss-omtrdc.net/?q={Search_Terms}", 
        "Resource=0", 
        "RecContentType=text/xml", 
        "Referer=", 
        "Snapshot=t5.inf", 
        "Mode=HTML", 
        LAST);

        web_reg_find("Text=</customer-results>",
        LAST);
    
    lr_end_transaction("Search_5", LR_AUTO);

    return 0;
}

Sagar Aggarwal

unread,
Aug 22, 2013, 3:40:48 PM8/22/13
to LR-Loa...@googlegroups.com
you have used web_reg_find after web_url.. thats why you are getting the error.. use it before submitting the request

 
Regards,
Sagar Aggarwal
+15626079370


--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

James Pulley

unread,
Aug 22, 2013, 8:12:43 PM8/22/13
to LR-Loa...@googlegroups.com
Message locked from further replies due to shotgun cross post to multiple forums. Please see identical posting on sqaforums.com for follow up

MODERATOR
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages