xml - How to call property we just defined from the first request to use in the next request jmeter? -
i use config element "property file reader" store variables, can accessed requests. named file variables.txt, can see first variable defined "name":
and second , third variable defined after first request executed:
i call first variable:
${__p(name)} but failed call second , third variable:
${__p(npwp1)} ${__p(npwp2)} it has value 00:
and jmx:
actually how call second , third variable in soap/xml-rpc request?
please help.
thank you.
you can't expect property file reader return latest/updated file,
it's config element loaded once:
propertyreader extends configtestelement , according java docs:
expectsmodification() if config element expects modified in process of test run, , want modifications carry on sample sample (as in cookie manager - want save cookies set throughout test), return true method.
propertyreader doesn't define expectsmodification() , therefore properties loaded once on startup , aren't refreshed after.
you can use __setproperty set new properties inside test
finally ensure understand differences between properties , variables mixing:




Comments
Post a Comment