0

I have the below message in the response and i would like to capture activity-name, old-val and new-val. Can someone please help me what is the best way to capture?

response message: I have multiple blocks as shown below, i have mentioned only one block here.

<tr>
                <td width="20%" class="activity-name">
                                    Programs Written/Modified
                                </td>
                <td width="40%" class="activity-old-val">
                                                </td>
                <td width="40%" class="activity-new-val">
                                                            <b>New:</b>
                                                                   buildrate.p
                                                                    </td>
                </tr>
ShravanM
  • 323
  • 1
  • 7
  • 21

1 Answers1

0

Using regular expressions for parsing HTML is not the best idea, JMeter provides the following Post-Processors:

  1. CSS Selector Extractor which allows fetching data from HTML using CSS Selectors
  2. XPath Extractor which allows fetching data from XHTML/XML and HTML using XPath selectors

Demo:

enter image description here

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