Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Absent Member.. IpreoNOCSS Absent Member..
Absent Member..
2273 views

Sitescope-VuGen (Loadrunner) Compatibility Issue

All - I recent wrote a script in VuGen to monitor a new mobile application that we have-- the script does a POST and a series of GETs, but it not your typical 'recording' because there is no UI to access and log into (because it is a Mobile app). The script works as expected but the problem I am having is when I try to import this as a 'webscript' monitor in Sitescope (version 10.10) it will not allow me to create it displaying the error "Error Code: 31008.  Error Description: Error getting counters : This script contains VuGen protocol(s) that are not supported in SiteScope". I am not sure why this is occurring-- but it is preventing some much needed monitoring from being setup. Can anybody assist with helping me identify why Sitescope dislikes this script? I have pasted a sample of the code below (urls, usernames, and passwords were removed for security reasons):

 

Any help would be MUCH appreciated..Thanks.

 

Action()

{

                web_set_max_html_param_len("102400");

 

                /*Post to mobile site using username/password*/

    web_submit_data("default.aspx",

                                                                                "Action={QXmpgMobileURL}/api/authentication",

                                                                                "Method=POST",

                                                                                "TargetFrame=",

                                                                                "RecContentType=text/html",

                                                                                "Referer={QXmpgMobileURL}/",

                                                                                "Snapshot=t7.inf",

                                                                                "Mode=HTML",

                                                                                ITEMDATA,

                                                                                "Name=username", "Value={QXmpgUsername}", ENDITEM,

                                                                                "Name=password", "Value={QXmpgDfaultPword}", ENDITEM,

                                                                                LAST);

 

                /*Make Webservice call (GET) to the iDeal.ProfileBuilder.svc*/

                web_url("iDeal.ProfileBuilder.svc",

                                                "URL={QXmpgMobileURL}/odata/iDeal.ProfileBuilder.svc/SecurityService?$format=json&$skip=0&$top=2&$select=security_id,Issuer%2Fcompany_name,company_name,ticker,security_name,isin,cusip,number_holders_eq,number_holders_fi,primary_exchange_name,ticker_exchange_code,maturity_dt,coupon_rate,asset_class&$orderby=ticker%20asc,company_name%20asc&$filter=status_name%20eq%20'Public%20-%20Active'%20and%20(startswith(toupper(ticker),'GOOG')%20or%20startswith(toupper(security_name),'GOOG'))%20and%20asset_class%20eq%20'E'&$expand=Issuer",

                                                "TargetFrame=",

                                                "Resource=0",

                                                "RecContentType=text/html",

                                                "Referer=",

                                                "Snapshot=t1.inf",

                                                "Mode=HTML", 

                                                LAST);

 

    /*Make Webservice call (GET) to the Ipreo.Billfold.svc*/

                web_url("Ipreo.Billfold.svc",

                                                "URL={QXmpgMobileURL}/odata/Ipreo.Billfold.svc/Contact?$format=json&$skip=0&$top=2&$select=pr_first_nm,pr_last_nm,crm_first_nm,crm_last_nm,primary_role,crm_role,pr_investor_nm,crm_investor_nm,CompositeKey&$orderby=pr_first_nm%20asc,crm_first_nm%20asc&$filter=(startswith(toupper(pr_first_nm),'ANDREW')%20or%20startswith(toupper(pr_last_nm),'ANDREW')%20or%20startswith(toupper(crm_first_nm),'ANDREW')%20or%20startswith(toupper(crm_last_nm),'ANDREW'))%20and%20(buyside_ind%20eq%20true%20or%20sellside_ind%20eq%20true)",

                                                "TargetFrame=",

                                                "Resource=0",

                                                "RecContentType=text/html",

                                                "Referer=",

                                                "Snapshot=t1.inf",

                                                "Mode=HTML", 

                                                LAST);

 

    /*Make Webservice call (GET) to the EqSecurityProfile.svc*/

                web_url("EqSecurityProfile.svc",

                                                "URL={QXmpgMobileURL}/rest/API/Mobile/EqSecurityProfile.svc/?$components=Securities,Issuers,Pricing,TopInstSurvHolders,TopInstSurvBuyers,TopInstSurvSellers,TopFundPubHolders,TopFundPubBuyers,TopFundPubSellers,TopInstPubHolders,TopInstPubSellers,TopInstPubBuyers&SecurityId=141382&$top=%7BPricing%3A10%7D&$skip=%7BPricing%3A0%7D&$orderby=%7BPricing%3Atrade_date%7D&$format=json",

                                                "TargetFrame=",

                                                "Resource=0",

                                                "RecContentType=text/html",

                                                "Referer=",

                                                "Snapshot=t1.inf",

                                                "Mode=HTML", 

                                                LAST);

 

    /*Release the ASPXAUTH cookie*/

    web_remove_cookie ("ASPXAUTH");

 

                return 0;

}

Labels (1)
0 Likes
6 Replies
Highlighted
Absent Member.. OrbitZer0 Absent Member..
Absent Member..

Re: Sitescope-VuGen (Loadrunner) Compatibility Issue

Hi. Do you run other VuGen scripts within SiteScope?  I know that I am not able to do that because I do not have the proper SiteScope license for running VuGen scripts.  - Rich

0 Likes
Absent Member.. IpreoNOCSS Absent Member..
Absent Member..

Re: Sitescope-VuGen (Loadrunner) Compatibility Issue

Yes - I  do have webscript licensing so that is not the issue, the issue is with Sitescope not accepting the webscript because of the following error "Error Code: 31008.  Error Description: Error getting counters : This script contains VuGen protocol(s) that are not supported in SiteScope"-- I am not sure why the script cannot run in Sitescope...any thoughts?

0 Likes
Absent Member.. IpreoNOCSS Absent Member..
Absent Member..

Re: Sitescope-VuGen (Loadrunner) Compatibility Issue

Doing some research on this, I see that Sitescope has some issues interpreting Javascript (in my case embedded JSON) in its monitor types. The link below explains SiS's limitations interpreting dynamically generated content in URL Sequence monitors:

 

http://sitescope.tellurian.net/SiteScope/docs/URLJavascript.htm

 

Thus I can conclude there are similar limitations within Web Script monitors as well....With that being said, can anybody comment on Sitescope's ability to handle JSON/Javascript?? I am using version 10.10, but is it supported in a newer version? Or is it not supported at all??

 

Please let me know....

0 Likes
Absent Member.. bighead337 Absent Member..
Absent Member..

Re: Sitescope-VuGen (Loadrunner) Compatibility Issue

IpreoNOCSS,

What protocol is the Vugen script created in and does your deployed Vugen script have transactions added? I don't have the details but suspect that you recorded in a protocol other than Web HTTP/HTML and that might be the problem.
0 Likes
Established Member.. kenneth.gonzale
Established Member..

Re: Sitescope-VuGen (Loadrunner) Compatibility Issue

SiS only supports Web Click&Script or Web HTTP/HTML. Also SiS 10.10 will support only VuGen 9.5 tops. As SiS runs the script with same replay engine as VuGen (mdrv.exe) those URL monitor JS limitations doesn't apply.
Kenneth Gonzalez
HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
0 Likes
Absent Member.. kmukhopadhyay Absent Member..
Absent Member..

Re:Telluric control

We have apps. with Telleuric control. We have HP ALM Performance center. I like to know which protocol we should use?

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.