question

Friederike T. avatar image
Friederike T. asked ·

Sequence Transaction with regular Expression

I'm trying to create some sequence transactions for a http service. there is one transaction that can start from mulitple URLs which only differs in a slightly different parameter like:

URI 1a: http://hostname.com/start.htm?Para1=ABC

URI 1b: http://hostname.com/start.htm?Para1=ABD

I tried to create a sequence transaction with a starting point defined like:

regex:hostname.com/start.htm?Para1=AB*

But this is never matched. In the documentation

https://community.dynatrace.com/community/display/DCRUM124/Adding+transactions+for+a+range+of+AMDs it is described that we can use * in a HTTP transaction for saying "any number of any character". Did anyone tried this with success?

nam serversequence transactions
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

Janusz D. avatar image
Janusz D. answered ·

Hi Friederike

But either you use regex or not.

try something like

regex:hostname\.com\/start\.htm\?Para1=AB.

or

hostname.com/start.htm?Para1=AB*

1 comment 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.

Thanks Janusz, didn't noticed that there is a difference between regex usage an just "masking"

0 Likes 0 · ·