jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantinos Dimkas <ksdim...@csd.auth.gr>
Subject Re: Running test with parameters
Date Tue, 02 Feb 2016 17:04:34 GMT
Thank you very much! 

> On 02 Feb 2016, at 18:46, Deepak Shetty <shettyd@gmail.com> wrote:
> 
> Hi
> Assuming you are using CSV data setconfig , then whatever is specified in
> the FileName is interpreted relative to the TestPlan location (assuming you
> have specified a relative path ) - hence you dont really need to specify
> the location of your CSV file - just keep it where it needs to be relative
> to the test plan.
> If on the other hand you are trying to vary the path to the file , perhaps
> to execute the same test with a different CSV file , then you need to
> change the Test Plan itself to make the property variable
> ${__P(path, defaultValueForGUI)}
> and when you run the test you can use -J or -G (
> http://jmeter.apache.org/usermanual/get-started.html ) or specify the path
> in user.properties (there are different ways to achieve the same thing -
> for e.g. copy the file you want to the location that the Test plan reads as
> part of a pre-step , before you run the plan)
> 
> regards
> deepak
> 
> On Tue, Feb 2, 2016 at 7:39 AM, Konstantinos Dimkas <ksdimkas@csd.auth.gr>
> wrote:
> 
>> Thank you for the fast response,
>> 
>> I have a jmx file that simulates a log-in to a web service with specific
>> credentials. I have configured the jmx to read from a csv file. The struct
>> of the csv is (username,password).
>> 
>> Now i want to run it from a machine without UI, only from the command
>> line. How can i add the csv file as a parameter to the command ./jmeter -n
>> -t TestPlan.jmx -I ?
>> 
>> On 02 Feb 2016, at 15:38, SAGAR JISKAR <sagarjiskar111@gmail.com> wrote:
>> 
>> Hi Dimkas,
>> 
>> Elaborate your issue.
>> 
>> If you are parameterising then You need to put your csv in folder where you
>> kept your TestPlan.jmx.
>> 
>> On Tue, Feb 2, 2016 at 9:08 PM, Konstantinos Dimkas <ksdimkas@csd.auth.gr>
>> wrote:
>> 
>> Hi all,
>> 
>> I want to run a test at an ubuntu server from terminal.
>> I know that the command to do it is: ./jmeter -n -t TestPlan.jmx -l
>> jmeteroutput.csv
>> 
>> How can i include a csv file with credentials to the TestPlan i want to
>> run with this command?
>> 
>> 
>> Thanks in advance,
>> Konstantinos Dimkas
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Konstantinos Dimkas
>> 
>> 
>> 
>> 
>> 



Konstantinos Dimkas





Mime
View raw message