Table row data is not being accessed under table body in Jmeter



  • I am trying to access the table row data which is under the table body.

    Following is my HTML:

        

    Patient Confirmation Notifications

    **** ```

    I only want to get the data-id value of the table row. I am using the CSS Extractor but not able to access that data-id value. I also tried with other extractors but not able to access the same.



  • Depending on what you're trying to achieve the approaches will differ.

    An example setup of the CSS Selector Extractor which will return data-id attribute for tr tag having id of confirmationNotificationSource49 will be something like:

    • Selector: tr[id=confirmationNotification49]
    • Attribute: data-id

    Demo (assumes "CSS Selector Tester" mode of the View Results Tree listener):

    enter image description here

    More information: How to Use the CSS/JQuery Extractor in JMeter


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2