https://bz.apache.org/bugzilla/show_bug.cgi?id=64120

            Bug ID: 64120
           Summary: JMeter recording
           Product: JMeter
           Version: 5.2.1
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_6.0.0

Created attachment 36995
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36995&action=edit
Recording Error log

It seems that JMeter thrown an exception with the current version of Jsoup
1.12.1 while recording a new session.
Caused by org.jsoup.c: java.io.IOException: Underlying input stream returned
zero bytes
       at org.jsoup.parser.CharacterReader.bufferUp(CharacterReader.java:60)
       at org.jsoup.parser.CharacterReader.(CharacterReader.java)
       at org.jsoup.parser.CharacterReader.(CharacterReader.java)
       at org.jsoup.parser.TreeBuilder.defaultSettings(TreeBuilder.java:35)
       at
org.jsoup.parser.HtmlTreeBuilder.initialiseParse(HtmlTreeBuilder.java:66)
       at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:44)
       at org.jsoup.parser.Parser.parseInput(Parser.java:39)
       at org.jsoup.helper.DataUtil.parseInputStream(DataUtil.java:151)
       at
org.jsoup.helper.HttpConnection$Response.parse(HttpConnection.java:832)
       at org.jsoup.helper.HttpConnection.get(HttpConnection.java:289)

Related to this post https://github.com/jhy/jsoup/issues/980 it should be
fixed, but in reality is not. I downgraded the version of Jsoup to the one used
in JMeter version 5.1.1 and everything works fine. Please,
catch this exception and mitigate it waiting the fix from Jsoup owners!

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to