• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Sadasiva O. · Sep 25, 2014 at 10:48 PM · continuous delivery

Issues while integrating a LR script recorded using Citrix protocol with DT

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

7 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andreas G. · Sep 25, 2014 at 11:32 PM

I just found the following page - http://www.myloadtest.com/loadrunner-11-5/ - seems like Load Runner allows you to specifc custom HTTP Headers through their TruClient. So - instead of testing through Citrix maybe you can do it via TruClient?

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Sep 25, 2014 at 11:30 PM

Not that easy if you drive the browser through Citrix. The only option might be a proxy tool such as Fiddler that you could install on that virtual machine. Fiddler could then add the X-dynaTrace header. but i wouldnt know how you tell fiddler to use a different value for every transaction that you execute.

Why not use HTTP based scripts?

Comment

People who like this

0 Show 2 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Sadasiva O. · Sep 25, 2014 at 11:59 PM 0
Share

Application I am using is a client–> Server architecture hosted on Citrix Virtual Machines.

avatar image Andreas G. ♦ Sadasiva O. · Sep 26, 2014 at 12:28 AM 0
Share

In that case we dont offer any tagging - we only offer it for HTTP-based protocols.

If you run the test in a certain timeframe simply focus on the purepaths that came in during that timeframe. that should make it easier.

avatar image

Answer by Sadasiva O. · Sep 25, 2014 at 11:21 PM

Thanks Andi.

I have these questions exactly in my mind. I am able to capture the purepaths but was not able to identify easily that this purepath was from which transaction.

Do you think is there any other way of tagging LR transactions with DT to identify the purepaths with transaction names.

Sada

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Sep 25, 2014 at 11:06 PM

The "Script Converter" only works for HTTP based scripts. But - whatever application you are testing with Load Runner - dynaTrace will capture PurePaths. The only thing you additionally get with HTTP Scripts is that dynaTrace will also know what test script created that PurePath. But - you can test any App with LR through any Protocol. If you have dynaTrace Installed on the application that you are testing you are going to get PurePaths

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Sadasiva O. · Sep 25, 2014 at 11:03 PM

Hi Andi,

Thanks for the quick response.

So can I understand LR integration with DT will work only for the scripts developed in HTTP/HTML based protocols and not for the other protocol based LR scripts.

Sada

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Sep 25, 2014 at 10:57 PM

Hi.

I am not a LR expert but I assume that the ICA Support of Loadrunner is really driving the Citrix Session via their ICA Protocol. The LR Script Converter from dynaTrace is targeted for Web Load Tests of Load Runner. The web_add_header will add a custom HTTP  Header to web requests executed by Load Runner so that they can be identified by dynaTrace.

This will not work with Citrix - thats why you see the error.

Andi

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Sadasiva O. · Sep 25, 2014 at 10:51 PM

Hi There,

I have recorded a script in LoadRunner using Citrix ICA protocol and trying to integrate with DT. I did it using DT client by going through Tools--> LoadRunner Script convertor and it has created the below mentioned code in global.h file.

void addDynaTraceHeader(char* header){

 char* headerValue;

 int headerValueLength;

 int vuserid, scid;

 char *groupid, *timestamp;

char* vuserstring=(char*) malloc(sizeof(char) * 10);

web_save_timestamp_param("TimeStamp", LAST);

timestamp=lr_eval_string("{TimeStamp}");

lr_whoami(&vuserid, &groupid, &scid);

itoa(vuserid,vuserstring,10);

headerValueLength = strlen(header) + 4 + strlen(vuserstring) + 4 + strlen(timestamp) + 1;

headerValue = (char*) malloc(sizeof(char) * headerValueLength);

strcpy(headerValue, header); strcat(headerValue,";VU=");

strcat(headerValue,vuserstring);

strcat(headerValue,";ID=");

strcat(headerValue,timestamp);

web_add_header("X-dynaTrace", headerValue);

free(headerValue);

free(vuserstring);

 }

The script was throwing an error while running and the error was "undeclared identifier `LAST'". Can someone help me in fixing this issue

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

How do we add timers to Selenium - Web Driver?

Instrumenting Groovy Rails (Tomcat) from Eclipse

Jenkins -- Jmeter -- Automation with Maven scripts

Borland SilkPerformer Integration

Bamboo Integration

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A