Summary: | JMeter recording fails with Underlying input stream returned zero bytes due to bug in jsoup 1.12.1 | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | jnex85 |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | p.mouawad, rus_alex777 |
Priority: | P2 | Keywords: | FixedInTrunk |
Version: | 5.2.1 | ||
Target Milestone: | JMETER_5.3.0 | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Recording Error log |
Description
jnex85
2020-02-06 15:52:32 UTC
Hello, Can you show the jmeter.log with this stacktrace ? Thank you Regards The jsoup bug tracker points to https://github.com/jhy/jsoup/issues/1250, which says it should be fixed with version 1.12.2. I will update the dependency accordingly. @jnex85 could you test the next nightly, if your problem is fixed? p.s. It would be nice to have the error messages as text instead of a picture. Will be included in the next JMeter version (after 5.1.2). @jnex85 if this fixed your problem, you can close this bug and add "FixedInTrunk" to the Keywords above. commit a6cbe55c367afa6b8a51e9c858e30ed403d1d28f AuthorDate: Mon Feb 10 21:36:48 2020 +0100 Updated jsoup to 1.12.2 (from 1.22.1) Bugzilla Id: 64120 --- gradle.properties | 2 +- xdocs/changes.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) Closing as resolved . But if reported can confirm it would be better, thanks. In the nightly 5.3 I don't see the error anymore. Anyway, during the initialization of the recording there is a new error, for sure not related with that one. The exception is: apache-jmeter-5.3-SNAPSHOT\apache-jmeter-5.3-SNAPSHOT\bin\proxyserver.jks (The system cannot find the file specified) at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_241] at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_241] at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.8.0_241] at org.apache.jmeter.protocol.http.proxy.ProxyControl.getKeyStore(ProxyControl.java:1582) ~[ApacheJMeter_http.jar:5.3-SNAPSHOT] at org.apache.jmeter.protocol.http.proxy.ProxyControl.initDynamicKeyStore(ProxyControl.java:1462) [ApacheJMeter_http.jar:5.3-SNAPSHOT] at org.apache.jmeter.protocol.http.proxy.ProxyControl.initKeyStore(ProxyControl.java:1415) [ApacheJMeter_http.jar:5.3-SNAPSHOT] at org.apache.jmeter.protocol.http.proxy.ProxyControl.startProxy(ProxyControl.java:494) [ApacheJMeter_http.jar:5.3-SNAPSHOT] at org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.startProxy(ProxyControlGui.java:600) [ApacheJMeter_http.jar:5.3-SNAPSHOT] at org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui.actionPerformed(ProxyControlGui.java:440) [ApacheJMeter_http.jar:5.3-SNAPSHOT] at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) [?:1.8.0_241] at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) [?:1.8.0_241] at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) [?:1.8.0_241] at javax.swing.DefaultButtonModel.setPressed(Unknown Source) [?:1.8.0_241] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) [?:1.8.0_241] at java.awt.Component.processMouseEvent(Unknown Source) [?:1.8.0_241] at javax.swing.JComponent.processMouseEvent(Unknown Source) [?:1.8.0_241] at java.awt.Component.processEvent(Unknown Source) [?:1.8.0_241] at java.awt.Container.processEvent(Unknown Source) [?:1.8.0_241] at java.awt.Component.dispatchEventImpl(Unknown Source) [?:1.8.0_241] at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_241] at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_241] at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) [?:1.8.0_241] at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) [?:1.8.0_241] at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) [?:1.8.0_241] at java.awt.Container.dispatchEventImpl(Unknown Source) [?:1.8.0_241] at java.awt.Window.dispatchEventImpl(Unknown Source) [?:1.8.0_241] at java.awt.Component.dispatchEvent(Unknown Source) [?:1.8.0_241] at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_241] at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_241] at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_241] at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_241] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_241] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_241] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_241] at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_241] at java.awt.EventQueue$4.run(Unknown Source) [?:1.8.0_241] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_241] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_241] at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_241] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_241] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_241] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_241] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_241] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_241] at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_241] I think the last comment (about the missing proxyserver.jks) should be discussed on the users mailing list or, if you really believe it to be a bug, in a new bug entry. Note, that I downloaded a fresh nightly under windows and had no problems running the proxy and recording a https site. *** Bug 64320 has been marked as a duplicate of this bug. *** This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5236 |