Error in Jmeter: Invalid keystore format

0

I am configuring some tests in an environment that requires SSL certification (due to the link protocol). When attaching the certification file and running the test configuration, each of the results, in the "Response data" tab, shows me the following result:

<html>
<head><title>400 No required SSL certificate was sent</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<center>No required SSL certificate was sent</center>
<hr><center>nginx</center>
</body>
</html>

Additionally, a warning appears on the screen.

When selecting the warning, the following information is displayed:

2018-10-23 15:41:19,862 INFO o.j.r.JARSourceHTTP: Found cached repo
2018-10-23 15:41:20,009 INFO o.j.r.PluginManager: Plugins Status: [jpgc-plugins-manager=1.1, jmeter-core=4.0, jmeter-ftp=4.0, jmeter-http=4.0, jmeter-jdbc=4.0, jmeter-jms=4.0, jmeter-junit=4.0, jmeter-java=4.0, jmeter-ldap=4.0, jmeter-mail=4.0, jmeter-mongodb=4.0, jmeter-native=4.0, jmeter-tcp=4.0, jmeter-components=4.0]
2018-10-23 15:41:20,012 INFO o.j.r.PluginManagerMenuItem: Plugins Manager has upgrades: [jpgc-plugins-manager]
2018-10-23 15:41:21,063 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-10-23 15:41:21,064 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-10-23 15:41:21,064 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-10-23 15:41:21,064 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018-10-23 15:41:21,064 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2018-10-23 15:41:21,064 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2018-10-23 15:41:21,578 INFO o.a.j.e.KeyToolUtils: keytool found at 'keytool'
2018-10-23 15:41:21,579 INFO o.a.j.p.h.p.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file C:\Users61678\Documents\apache-jmeter-4.0\bin\proxyserver.jks
2018-10-23 15:41:21,778 INFO o.a.j.s.FileServer: Default base='C:\Users61678\Documents\apache-jmeter-4.0\bin'
2018-10-23 15:41:22,546 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2018-10-23 15:41:22,546 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2018-10-23 15:41:22,546 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2018-10-23 15:41:22,546 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2018-10-23 15:41:34,202 INFO o.a.j.g.a.Load: Loading file: C:\Users61678\bancolombia\ms\AW1170001_MS_UpdateClientStatus\jmeterTest\UpdateClientStatusJmeterTest.jmx
2018-10-23 15:41:34,202 INFO o.a.j.s.FileServer: Set new base='C:\Users61678\bancolombia\ms\AW1170001_MS_UpdateClientStatus\jmeterTest'
2018-10-23 15:41:34,356 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2018-10-23 15:41:34,360 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2018-10-23 15:41:34,361 INFO o.a.j.s.SaveService: Using SaveService properties version 4.0
2018-10-23 15:41:34,363 INFO o.a.j.s.SaveService: Loading file: C:\Users61678\bancolombia\ms\AW1170001_MS_UpdateClientStatus\jmeterTest\UpdateClientStatusJmeterTest.jmx
2018-10-23 15:41:34,515 INFO o.a.j.p.h.c.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_
2018-10-23 15:41:34,755 INFO o.a.j.s.FileServer: Set new base='C:\Users61678\bancolombia\ms\AW1170001_MS_UpdateClientStatus\jmeterTest'
2018-10-23 15:41:50,481 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2018-10-23 15:41:50,481 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2018-10-23 15:41:57,320 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2018-10-23 15:41:57,321 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2018-10-23 15:41:57,321 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2018-10-23 15:41:57,333 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, *local*)
2018-10-23 15:41:57,465 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group UpdateClientStatus
2018-10-23 15:41:57,465 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group UpdateClientStatus.
2018-10-23 15:41:57,465 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2018-10-23 15:41:57,466 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=300 perThread=300000.0 delayedStart=false
2018-10-23 15:41:57,470 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2018-10-23 15:41:57,470 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2018-10-23 15:41:57,480 INFO o.a.j.t.JMeterThread: Thread started: Thread Group UpdateClientStatus 1-1
2018-10-23 15:41:57,485 INFO o.a.j.s.FileServer: Stored: C:\Users61678\bancolombia\ms\AW1170001_MS_UpdateClientStatus\jmeterTest\UpdateClientStatus.csv
2018-10-23 15:41:57,505 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = 50HW000668
2018-10-23 15:41:57,511 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0
2018-10-23 15:41:57,527 INFO o.a.j.p.h.s.LazySchemeSocketFactory: Setting up HTTPS TrustAll Socket Factory
2018-10-23 15:41:57,537 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: C:\Users61678\bancolombia\certificados\ibm.pfx type JKS
2018-10-23 15:41:57,537 INFO o.a.j.u.SSLManager: KeyStore created OK
2018-10-23 15:42:02,450 ERROR o.a.j.u.SSLManager: Problem loading keystore: Invalid keystore format
java.io.IOException: Invalid keystore format
    at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source) ~[?:1.8.0_25]
    at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source) ~[?:1.8.0_25]
    at java.security.KeyStore.load(Unknown Source) ~[?:1.8.0_25]
    at org.apache.jmeter.util.keystore.JmeterKeyStore.load(JmeterKeyStore.java:114) ~[ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.util.SSLManager.getKeyStore(SSLManager.java:132) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.util.JsseSSLManager.createContext(JsseSSLManager.java:214) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.util.JsseSSLManager.getContext(JsseSSLManager.java:176) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.util.HttpSSLProtocolSocketFactory.getSSLSocketFactory(HttpSSLProtocolSocketFactory.java:115) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.util.HttpSSLProtocolSocketFactory.createSocket(HttpSSLProtocolSocketFactory.java:137) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory.createSocket(HC4TrustAllSSLSocketFactory.java:68) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.jmeter.protocol.http.sampler.LazySchemeSocketFactory.createSocket(LazySchemeSocketFactory.java:79) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:168) [httpclient-4.5.5.jar:4.5.5]
    at org.apache.jmeter.protocol.http.sampler.hc.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:318) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager$MeasuredConnection.open(MeasuringConnectionManager.java:114) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610) [httpclient-4.5.5.jar:4.5.5]
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445) [httpclient-4.5.5.jar:4.5.5]
    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835) [httpclient-4.5.5.jar:4.5.5]
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) [httpclient-4.5.5.jar:4.5.5]
    at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:697) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:455) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1189) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1178) [ApacheJMeter_http.jar:4.0 r1823414]
    at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:490) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:416) [ApacheJMeter_core.jar:4.0 r1823414]
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:250) [ApacheJMeter_core.jar:4.0 r1823414]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]
2018-10-23 15:42:16,089 INFO o.a.j.g.a.Start: Stopping test
2018-10-23 15:42:16,100 INFO o.a.j.t.JMeterThread: Stopping: Thread Group UpdateClientStatus 1-1
2018-10-23 15:42:16,101 WARN o.a.j.t.JMeterThread: Interrupting: Thread Group UpdateClientStatus 1-1 sampler: HTTP Request
2018-10-23 15:42:16,106 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group UpdateClientStatus 1-1
2018-10-23 15:42:16,107 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2018-10-23 15:42:16,107 INFO o.a.j.s.FileServer: Close: C:\Users61678\bancolombia\ms\AW1170001_MS_UpdateClientStatus\jmeterTest\UpdateClientStatus.csv
2018-10-23 15:42:16,108 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
    
asked by Juan Pablo 23.10.2018 в 23:48
source

0 answers