Apologies yes, should be other way round and indeed it does work the other way 
around for paths relational to {jmeter}/bin but trying to give a general 
understanding of what can cause this problem when switching operating systems. 
Obviously I failed.

-----Original Message-----
From: sebb [mailto:[email protected]]
Sent: 08 June 2017 14:03
To: JMeter Users List <[email protected]>
Subject: Re: Jmeter has problems in Windows 10?

On 8 June 2017 at 13:08, Stuart Kenworthy <[email protected]> wrote:
> One thing to consider with cross platform testing is file paths, more 
> specifically path separators.
>
> Windows will use
>
> Test/data/customers.csv
>
> Whereas linux will use
>
> Test\data\customers.csv

Other way round, surely?

Also note that the Windows JVM can usally handle '/' as well as '\' so for 
relative files you can use

Test/data/customers.csv

on both Windows and Linux/MacOS

> I had a slightly more elegant solution in place before but you should
> have a custom variable of
>
> Pathseparator=${__BeanShell(import
> org.apache.jmeter.services.FileServer;
> FileServer.getFileServer().getBaseDir();)}${__BeanShell(File.separator
> ,)}
>
> The your path would be
>
> Test${Pathseparator}data${Pathseparator}customer.csv
>
> For both OSs
>
> -----Original Message-----
> From: Philippe Mouawad [mailto:[email protected]]
> Sent: 08 June 2017 06:36
> To: JMeter Users List <[email protected]>
> Subject: Re: Jmeter has problems in Windows 10?
>
> Hello,
> JMeter runs on Java VM 8 (as of 3.2), this means it can run on any os 
> supporting it.
> Windows 10 is one of those, so no problem.
>
> Most probably your windows 10 has different network settings which do not 
> allow some external connections.
>
> Check that you configured JMeter correctly regarding proxy:
>
> - https://jmeter.apache.org/usermanual/get-started.html#proxy_server
>
> Regards
>
> On Thursday, June 8, 2017, Cristian Amaya
> <[email protected]>
> wrote:
>
>>
>> Have a nice day, Do you know if Jmeter has conflicts to run tests in
>> Windows 10? I currently run tests on Linux and W10, but the results
>> are very different because in W10 many failed results are generated.
>> Thank you for your contributions.
>>
>>
>
> --
> Cordialement.
> Philippe Mouawad.
>
> The information included in this email and any files transmitted with it may 
> contain information that is confidential and it must not be used by, or its 
> contents or attachments copied or disclosed to, persons other than the 
> intended addressee. If you have received this email in error, please notify 
> BJSS. In the absence of written agreement to the contrary BJSS' relevant 
> standard terms of contract for any work to be undertaken will apply. Please 
> carry out virus or such other checks as you consider appropriate in respect 
> of this email. BJSS does not accept responsibility for any adverse effect 
> upon your system or data in relation to this email or any files transmitted 
> with it. BJSS Limited, a company registered in England and Wales (Company 
> Number 2777575), VAT Registration Number 613295452, Registered Office 
> Address, First Floor, Coronet House, Queen Street, Leeds, LS1 2TW.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


The information included in this email and any files transmitted with it may 
contain information that is confidential and it must not be used by, or its 
contents or attachments copied or disclosed to, persons other than the intended 
addressee. If you have received this email in error, please notify BJSS. In the 
absence of written agreement to the contrary BJSS' relevant standard terms of 
contract for any work to be undertaken will apply. Please carry out virus or 
such other checks as you consider appropriate in respect of this email. BJSS 
does not accept responsibility for any adverse effect upon your system or data 
in relation to this email or any files transmitted with it. BJSS Limited, a 
company registered in England and Wales (Company Number 2777575), VAT 
Registration Number 613295452, Registered Office Address, First Floor, Coronet 
House, Queen Street, Leeds, LS1 2TW.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to