jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Kenworthy <Stuart.Kenwor...@bjss.com>
Subject RE: Keystore not found
Date Fri, 31 Mar 2017 09:38:59 GMT
Also I am unable to see the image you sent, but if you can provide a keystore at startup you
should rather than trying to load it in afterwards.

Another thing to check is that you are creating the relevant header correctly in the request.
The error provided is from your system under test so looks to me like something is missing.

-----Original Message-----
From: Stuart Kenworthy [mailto:Stuart.Kenworthy@bjss.com]
Sent: 31 March 2017 10:35
To: JMeter Users List <user@jmeter.apache.org>
Subject: RE: Keystore not found

The first bit about keystore created OK, ignore that it is to do with the recorder/proxy keystore,
not the playback one. Secondly have you provided the absolute path is system.properties and
is your jmeter.properties referencing the correct version of system.properties?

From: Harshal Kulkarni [mailto:kulkarni.harsh90@gmail.com]
Sent: 31 March 2017 10:31
To: JMeter Users List <user@jmeter.apache.org>
Subject: Keystore not found

Hi Team -

I am trying to test the secured Web Service with Jmeter. I used below pre processor to provide
the keystore and respective information to add the signature to the request header.

[Inline image 1]


But, when I am trying to replay the script, I see fault string in the response data -

<faultcode>wsse:InvalidSecurity</faultcode><faultstring>Missing wsse:Security
header in request</faultstring>


When i tried to debug the issue, I see below message in the jmeter logs :

2017/03/30 15:49:46 DEBUG - jmeter.util.JsseSSLManager: SSL stuff all set
2017/03/30 15:49:46 DEBUG - jmeter.util.JsseSSLManager: JsseSSLManager installed
2017/03/30 15:49:46 INFO  - jmeter.util.SSLManager: JmeterKeyStore Location:  type JKS
2017/03/30 15:49:46 INFO  - jmeter.util.SSLManager: KeyStore created OK
2017/03/30 15:49:46 WARN  - jmeter.util.SSLManager: Keystore file not found, loading empty
keystore
2017/03/30 15:49:46 DEBUG - jmeter.util.SSLManager: JmeterKeyStore type: class org.apache.jmeter.util.keystore.JmeterKeyStore


Can someone help me her to find out the issue?

I also tried to add the keystore properties in system.properties. But it didnt helped out.

Is there any specific location, where I need to place the keystore file?



--
Thanks,
Harshal Kulkarni
M: +91 998-778-4548

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.

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.
Mime
View raw message