Running JMeter in Command mode is not creating any log for anything under while loop in .jmx file -


i have .jmx file 2 thread groups. first thread group data comparison (db vs api) , has jdbc request plugin sql script , saves tab delimited file. have while loop under have http request.

second thread group negative scenarios validation.

below structure of .jmx file

-- thread group name - fx-rates     -- jdbc request name - fx-sql     -- while loop         -- http request - fx rates - api -- thread group name - negative testing     -- error codes  

i running jmeter in non gui mode using below command.

jmeter -n -t "f:\my documents\psm\psm_automation\bin\non_gui_fx_rates_validation.jmx" -l "f:\my documents\psm\psm_automation\log\non_gui_fx_rates_validation.jtl" 

i see creating log each individual sampler i.e; sql , negative scenarios but not under while loop. below log created.

logfile:

timestamp,elapsed,label,responsecode,responsemessage,threadname,datatype,success,failuremessage,bytes,sentbytes,grpthreads,allthreads,latency,idletime,connect 1492185939615,12140,fx - sql,200,ok,fx rates 1-1,text,true,,18549,0,1,1,12017,0,1566 1492185951933,0,error 400: invalid date format,non http response code: java.net.urisyntaxexception,non http response message: illegal character in query @ index 80: https://sys-fxrt-v0.apps.system.pcf.ntrs.com/foreign-exchange-rates?as-of-date=${d_exch_rt_eff},negative testing - error codes 2-1,text,false,,1105,0,1,1,0,0,0 1492185951935,190,error 404: no account,404,not found,negative testing - error codes 2-1,text,true,,354,232,1,1,189,0,170 1492185952127,20,error 404: incorrect url,404,not found,negative testing - error codes 2-1,text,false,,354,241,1,1,19,0,12 1492185952147,19,error 204: no data ,404,not found,negative testing - error codes 2-1,text,true,,354,260,1,1,19,0,12

obviously, kind of sampler result there:

error 400: invalid date format,non http response code: java.net.urisyntaxexception,non http response message: illegal character in query @ index 80: https://sys-fxrt-v0.apps.system.pcf.ntrs.com/foreign-exchange-rates?as-of-date=${d_exch_rt_eff}

obviously because d_exch_rt_eff not set/resolved in url.

that's problem you're gonna debug. obviously.

if you're doing (debugging), , run problem during - describe please.

and show 2 things: how set (initialize) variable; how use it, means, literally, show http sampler (yes, screenshot, @ least).


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -