0

I'm trying to record a scenario of SAP CRM. But I have a problem due to that everytime I login SAP CRM generates a new hashed token and will be used in URL like below:

See Image 1 Here

I tried to check where is the information stored, and in firebug and I found it in DOM tab:

See Image 2 Here

Is there any way to get the value from this DOM Properties using Jmeter?

vwegert
  • 18,371
  • 3
  • 37
  • 55

1 Answers1

0

Usually the choices are in:

Choose the one, you're most familiar with. Usually it is Regular Expression Extractor, however parsing HTML with regular expressions is not a good idea, moreover you will be very sensitive to DOM changes (part of the element goes to next line, attributes change positions, etc.).

So I would recommend choosing between CSS and XPath, but choose them wisely. I.e. if the number of styles on the page is not too big - go for CSS, if there are a lot of styles but the DOM itself is not very complicated - choose XPath.

Community
  • 1
  • 1
Dmitri T
  • 159,985
  • 5
  • 83
  • 133