• 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 Steven L. · Feb 24, 2014 at 06:11 PM ·

replay web service calls to simulate customer load

 

I would like to use Compuware to simulate webservice calls

First i would save the webservice request header data  (picture)

Question:

Is it possible to replay this data, can we change the frequence of the replay, can we change values in the requests?

Thx

 

 

 

 

 

 

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.

9 Replies

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

Answer by Andreas G. · Feb 26, 2014 at 09:00 AM

Hi Steven

You can basically capture ANY data you want. Whether it is Request Parameters or Method Arguments. This data will show up in the PurePath Details on the individula PurePath nodes. In order to query the data through REST you would need to create a Business Transaction that splits on these values, e.g: Method Argument. You can then query the result of that BT through REST - or - even consider the Real Time Business Transactions Feed which allows you to receive this data via PUSH instead of pulling it out

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 Steven L. · Mar 03, 2014 at 03:47 PM

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 Steven L. · Mar 03, 2014 at 03:28 PM

 

Just found answer for question one,

[Broken image]

 

 

 

 

 

 

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 Steven L. · Mar 03, 2014 at 03:08 PM

Hello Andres, 

I have created a sensor,

2 questions:

Compuware creates a splittong on Xml?, strange because there are no splittings definedi

like to have for each web call a line with the xml value

 

Is it normal that Compuware does not capture the complete argument value (in my case the xml value)

If so, can i set a parameter to trace the complete argument, i hope so otherwise i cannot reply data (smile)

 

Thx,

 

 

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 Steven L. · Feb 28, 2014 at 03:15 PM

Hello Andres,

This is the soap envelop out of JMeter,

This info comes from the Compuware documentation,

My settings for a agent group

 

These are the resilt, but i cannot find the soap xm?

 

Thx

 

Comment

People who like this

0 Show 1 · 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 Andreas G. ♦ · Feb 28, 2014 at 03:29 PM 0
Share

Hi. The SOAP XML is part of the HTTP POST Body which IS NOT captured by dynaTrace in its entirety. dynaTrace can capture HTTP PArameters that come in via POST but is not capturing the full POST Body. That could be megabytes per request.

If you need individual values from the SOAP Body you need to capture them from some methods in your code that retrieve them as parameters. For that you simply define custom sensors. Best is to talk with engineering or use the Class Browser and search for methods that get these values as parameters.

Andi

avatar image

Answer by Steven L. · Feb 26, 2014 at 05:47 PM

Thx Andreas,

Tomorrow i have a meeting with the boss,

to be sure i do not make any missasumptions, i do not need create a sensor correct?

out of the box i can trace a soap request, a REST request and i can retrieve this data by using compu REST API

(without making any business transaction), then it is my resposability to replay (example JMETER) Correct?

Thx

Out of the box i can, by changing

Comment

People who like this

0 Show 1 · 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 Andreas G. ♦ · Feb 26, 2014 at 07:42 PM 0
Share

If HTTP Parameters, Cookies, ... is all you need for your JMEter script then you are correcct. Just change the Sensor Properties as highlighted in your screenshot and dynaTrace will capture all this data.

ONE REMINDER THOUGH: with putting an * on all these entries it means dynaTrace will capture ALL this data for EVERY Request. Why am I mentioning this? Because it may put some additional overhead on your application because our code needs to capture all this data. If you are going to use this for JMeter you are probably good with just the Parameters - correct? No need for Server Variables, Session Entries, Cookies or Headers. This would keep overhead low if you just focus on Parameters

Andi

avatar image

Answer by Steven L. · Feb 25, 2014 at 10:09 AM

 

This is how i should do it:

 

--> Connect with JMeter on the Compuware rest api & retrieve web request data 

--> Use JMeter framework to replay web requests, duplicate, .. on my test environment. 

 

Grtz

 

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 Steven L. · Feb 25, 2014 at 09:23 AM

Summary of what my boss wants (smile)

We have a field test environment with let say 100 customers wish are creating load.

We want continuously capture load and replay it on our test environment with a release candidate.   

--> If i compare to new relic I'am glad that Compuware has the option to capture web request data, it is the starting point for me. 

      Nice to have Question? Can we capture anything we want? For example a sensor on Method(int Value), can Value be captured into Compuware database

One's we have the request we can:

Just replay all the request on same frequency

Replay with higher frequency (example peak load test)

Duplicate requests, what will hapen if we have 10 new customers within one month,

The release candidate has new features, what is impact (need we more memory, more cpu, ... for the release candidate) 

 

The Idea was to use jmeter to replay data, but to be sure i was wondering what Compuware could do out of the box

 

 

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 Andrew P. · Feb 25, 2014 at 05:11 AM

Hi Steven,

Unfortunately simply replaying a request that you receive is not really within the scope of dynaTrace's functionality, though not all is lost...

You could potentially do this with a combination of dynaTrace and Gomez, but the information in the replayed requests would be fairly static. It would be a matter of capturing the data, creating a script that mimics the request, then playing it back either manually (with the script recorder) or on a regular interval using the Gomez portal. You could manually change the values that are sent in the request, or even choose randomly from a databank (though you would need to create this yourself - an array in a custom action is probably the simplest example).

Perhaps I'm misunderstanding, can you give a bit more information about the context of the question and what you are trying to achieve?

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

2 People are following this question.

avatar image avatar image

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