-1

Below are the response datam, we are working to extract the response from the below URL's, but we are not able to extract using Regular Expression Extractor in Jmeter.

<td class="td-data2">http://elasticsearch.perf5.ua-north-1.bio.prod.platforms.build1:1340/</td>
<td class="td-data2">Failed to ping: Connection refused. - Connection failed: connect timed out</td>

Could any one help us on this issue which we are facing?

2 Answers2

0

Below is the regular expression

enter image description here Now, you need to fetch the second error message if there are multiple matches. Use ${ErrorMsg_2} or ${ErrorMsg_2_g1} enter image description here

Hope it helps.

Community
  • 1
  • 1
sunny_teo
  • 1,851
  • 1
  • 5
  • 11
0

Regular Expression Extractor

Regular Expression Extractor

Debug Sampler

Debug Sampler

JMeter Tree

enter image description here

Pratapi Hemant Patel
  • 2,554
  • 1
  • 17
  • 29