jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

Response Message is also not showing in the View Results Tree of Jmeter5.6.2 and 5.5

Open rohith477 opened this issue 1 year ago • 3 comments

Expected behavior

After executing the test. If we verify the View Results tree it has to show whether it got ok or ko response. I.e passed or failed response.

Actual behavior

In the jmeter 5.6.2 response message field is empty

Steps to reproduce the problem

  1. Prepared the sample script
  2. Reply script
  3. View results tree you can able see there is no response message

JMeter Version

5.6.2 & 5.5

Java Version

java version "21.0.1" 2023-10-17 LTS

OS Version

Windows 11

rohith477 avatar Jan 14 '24 17:01 rohith477

Can you check JMeter 5.6.3? Can you provide the script that reproduces the issue?

vlsi avatar Jan 14 '24 18:01 vlsi

Thanks for your quick reply..!

Please find the jmx file below and open it through the jmeter and reply the script. JmeterIssue

false false host petstore.octoperf.com = scheme https = petstore.octoperf.com https 6 false false continue false -1 9 9 1370726934000 1370726934000 true 180 true false true 443 UTF-8 /actions/Catalog.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Order.action?newOrder=&confirmed=true Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false c_categoryId categoryId=(.*?)"> $1$ 0 false true false signonForm = true 443 UTF-8 /actions/Account.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Catalog.action Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false name="_sourcePage" value="00BfZqPrPghk4S65xpk9Y5J2ik7Z7mnS4jAy0GCfX3z7PSDRmbwSTU7bh4_L2wiHSAHi4d81Uhi1ibdnt2j3t188srjrn6zAUambC4AVfdQ=" /> c_sourcePage01 name="_sourcePage" value="(.*?)" /> $1$ 1 false name="__fp" value="NwxrP4KG6RFCwKUkH-_SKCayOzU3cXsi49JgGoqrab72PTcm1w_ZYIf4C_FewE5b" /> c_fp01 name="__fp" value="(.*?)" /> $1$ 1 false username j2ee = true false password j2ee = true false signon Login = true true _sourcePage ${c_sourcePage01} = true false __fp = true ${c_fp01} 443 UTF-8 /actions/Account.action POST true false true false Detected the start of a redirect chain Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Account.action?signonForm= Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Origin ${scheme}://${host} Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Content-Type application/x-www-form-urlencoded Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document 443 UTF-8 /actions/Catalog.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Account.action?signonForm= Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false true false viewCategory = true false categoryId ${c_categoryId} = true 443 UTF-8 /actions/Catalog.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Catalog.action Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false c_productId productId=(.*?)"> $1$ 0 false true false viewProduct = true false productId ${c_productId} = true 443 UTF-8 /actions/Catalog.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Catalog.action?viewCategory=&categoryId=${c_categoryId} Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false c_itemId itemId=(.*?)"> $1$ 0 false true false viewItem = true false itemId ${c_itemId} = true 443 UTF-8 /actions/Catalog.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Catalog.action?viewProduct=&productId=${c_productId} Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false true false addItemToCart = true false workingItemId ${c_itemId} = true 443 UTF-8 /actions/Cart.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Catalog.action?viewItem=&itemId=${c_itemId} Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false true false newOrderForm = true 443 UTF-8 /actions/Order.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Cart.action?addItemToCart=&workingItemId=${c_itemId} Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false name="_sourcePage" value="00BfZqPrPghk4S65xpk9Y5J2ik7Z7mnS4jAy0GCfX3z7PSDRmbwSTU7bh4_L2wiHSAHi4d81Uhi1ibdnt2j3t188srjrn6zAUambC4AVfdQ=" /> c_sourcePage02 name="_sourcePage" value="(.*?)" /> $1$ 1 false name="__fp" value="NwxrP4KG6RFCwKUkH-_SKCayOzU3cXsi49JgGoqrab72PTcm1w_ZYIf4C_FewE5b" /> c_fp02 name="__fp" value="(.*?)" /> $1$ 1 false true false order.cardType Visa = true true order.creditCard 999 9999 9999 9999 = true true order.expiryDate 12/03 = true false order.billToFirstName ABC = true false order.billToLastName XYX = true true order.billAddress1 901 San Antonio Road = true true order.billAddress2 MS UCUP02-206 = true true order.billCity Palo Alto = true false order.billState CA = true false order.billZip 94303 = true false order.billCountry USA = true false newOrder Continue = true true _sourcePage ${c_sourcePage02} = true true __fp ${c_fp02} = true 443 UTF-8 /actions/Order.action POST true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Order.action?newOrderForm= Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Origin ${scheme}://${host} Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Content-Type application/x-www-form-urlencoded Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false true false newOrder = true false confirmed true = true 443 UTF-8 /actions/Order.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Order.action Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document false c_OrderId >Order #(.*?)\n(.*?)</th> $1$ 1 false log.info("Orderid Is ********************************************"+vars.get("c_OrderId")); false true false signoff = true 443 UTF-8 /actions/Account.action GET true false true false Detected the start of a redirect chain Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Order.action?newOrder=&confirmed=true Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document 443 UTF-8 /actions/Catalog.action GET true false true false Sec-Fetch-Mode navigate Referer ${scheme}://${host}/actions/Order.action?newOrder=&confirmed=true Sec-Fetch-Site same-origin Accept-Language en-US,en;q=0.5 Sec-Fetch-User ?1 Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Upgrade-Insecure-Requests 1 Accept-Encoding gzip, deflate, br User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0 Sec-Fetch-Dest document 1 0 10000 1000 false true false false saveConfig true true true true true true false false true false false false false true false false true true 0 true true true true false saveConfig true true true true true true true false true true false false false true false false false true 0 true true true true true true influxdbMetricsSender org.apache.jmeter.visualizers.backend.influxdb.HttpMetricsSender = influxdbUrl http://LAPTOP-710DGI1G:8086/api/v2/write?org=Dileep_Org&bucket=jmeter = application JPetStore = measurement jmeter = summaryOnly true = samplersRegex .* = percentiles 90;95;99 = testTitle CICD_Demo = eventTags = influxdbToken ToLvh2R0D6IR_MHGpwu-ORy4EiDcA5smmBM8SkeaXU4LtHGR4ga0IbFzuX-GbBu2IBa7SCdom2QC4HEEffJkzA== = org.apache.jmeter.visualizers.backend.influxdb.InfluxdbBackendListenerClient influxdbMetricsSender org.apache.jmeter.visualizers.backend.influxdb.HttpMetricsSender = influxdbUrl http://LAPTOP-710DGI1G:8086/api/v2/write?org=Dileep_Org&bucket=jmeter = application application name = measurement jmeter = summaryOnly false = samplersRegex .* = percentiles 99;95;90 = testTitle Test name = eventTags = nodeName Dileep_Org = influxDBPort 8086 = influxDBPassword Admin#0987654321Asdf = influxDBDatabase jpetstore = recordSubSamples true = influxDBHost LAPTOP-710DGI1G = influxdbToken ToLvh2R0D6IR_MHGpwu-ORy4EiDcA5smmBM8SkeaXU4LtHGR4ga0IbFzuX-GbBu2IBa7SCdom2QC4HEEffJkzA== = useRegexForSamplerList true = runId R001 = influxDBUser Admin = retentionPolicy autogen = testName CICD_Demo = org.apache.jmeter.visualizers.backend.influxdb.InfluxdbBackendListenerClient 1234 windowsupdate\.microsoft\.com.* (?i).*\.(bmp|css|js|gif|ico|jpe?g|png|swf|eot|otf|ttf|mp4|woff|woff2) .*msg\.yahoo\.com.* www\.download\.windowsupdate\.com.* toolbarqueries\.google\..* http?://self-repair\.mozilla\.org.* tiles.*\.mozilla\.com.* .*detectportal\.firefox\.com.* us\.update\.toolbar\.yahoo\.com.* .*\.google\.com.*/safebrowsing/.* api\.bing\.com.* toolbar\.google\.com.* .*yimg\.com.* toolbar\.msn\.com.* (?i).*\.(bmp|css|js|gif|ico|jpe?g|png|swf|eot|otf|ttf|mp4|woff|woff2)[\?;].* toolbar\.avg\.com/.* www\.google-analytics\.com.* pgq\.yahoo\.com.* safebrowsing.*\.google\.com.* sqm\.microsoft\.com.* g\.msn.* clients.*\.google.* .*toolbar\.yahoo\.com.* geo\.yahoo\.com.* true 0 false false true true false true false 0 true UTF-8 false saveConfig true true true true true true true true true true true true true false true true true true 0 true true true true true true true true D:\Dileep\Scripts\JPet\RecordingLog.xml

rohith477 avatar Jan 15 '24 04:01 rohith477

SC01_JpetOrdering.txt

Save the file as jmx and open it from the Jmeter.

  1. Open the script from jmeter.
  2. Replay and see in the view results tree
  3. Go to view results tree >> Sample results >> Response Message

Thanks, Dileep K

rohith477 avatar Jan 15 '24 04:01 rohith477