question

Prasad M. avatar image
Prasad M. asked ·

Request attribute getting truncated to 251 chars in purepath.

I am having a requirement to create a request attribute based on a java function which return a string. But in purepath its only showing first 251 characters only. Is there a way to increase this to 500 characters ?

purepathrequest attributes
10 |2000000 characters needed characters left characters exceeded

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

1 Answer

Julius L. avatar image
Julius L. answered ·

No, it is not. You will have to use two request attributes. One for capturing first 250 characters and the other to capture the rest.

4 comments Share
10 |2000000 characters needed characters left characters exceeded

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

Thank you Julius. Is there way to get characters from 250 to 500 while creating Request attribute using a java method as given below.

0 Likes 0 · ·

Use the regex for that:

^.{250}(.{0,250})


If possible (not in this case probably, as the UI will not allow it), I'd use the construct

.substring(250,500)

in the deep object access.

1 Like 1 · ·

Thank you. Much appreciated !!!

0 Likes 0 · ·

Hi Prasad & Julius,
Has the RegEx worked for the two of you? I've tried it without any luck. Do you have any tips if you haven't gotten it to work for you?
Thanks!

0 Likes 0 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions diagnostic tools session replay permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android