Hi All,
i try to invoke my local json file by following below steps.
1. in HTTP Request - server name or ip - file and path isĀ
E:\Krishna\apache-jmeter-4.0\apache-jmeter-4.0\bin\SampleJson.json
When i run the scripts i got the below error:
Response code: Non HTTP response code: java.net.URISyntaxE
Adding few more options:
1. Tried to update client implementation as HttpClient4 and the output is below:
Response code: Non HTTP response code: java.net.URISyntaxExceptionResponse
message: Non HTTP response message: Illegal character in path at index 14:
http://file/E:\Krishna\apache-jmeter-4.0\
Hi,
the problem is in the path to your json file
Try this with the HTTP Sampler:
Protocol = file
Server Name or IP = ///
Method = GET
Path = E:\Krishna\apache-jmeter-4.0\apache-jmeter-4.0\bin\SampleJson.json
Implementation <- meaning empty field (maybe under 'advanced tab')
ZK
--
Sen
Excellent thanks its working fine.
Regards,
Krishna - +91-9884451279.
CallSend SMSAdd to SkypeYou'll need Skype CreditFree via Skype
On Friday, 10 August, 2018, 2:55:34 PM IST, ZK
wrote:
Hi,
the problem is in the path to your json file
Try this with the HTTP Sampler:
Protocol = file
Hi All,
I have written a java program. So when i run a script in JMeter, the java
program has to be invoked from the script and the java program runs
independently in the background without JMeter waiting for it to complete
execution. The program when running independently completes the task an
Take a look at custom java sampler.Embed your script in that sampler that way
jmeter knows what script/program is doing.by Just invoking a script I am not
sure as what it solves and if you need to just invoke it why do you need
jmeter?. Also take a look at java process api and see if you can imp
Runtime.exec in a bean shell???
> On Aug 10, 2018, at 11:00 AM, Nayak, Soumya R. wrote:
>
> Hi All,
>
> I have written a java program. So when i run a script in JMeter, the java
> program has to be invoked from the script and the java program runs
> independently in the background without JMe