doesn't work during recording - java.io.IOException: Mark invalid ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

doesn't work during recording - java.io.IOException: Mark invalid ?

Alexander Podelko
Hi,
The "register" button in my app doesn't work when I am recording it in JMeter (5.3-SNAPSHOT d652f1c).
I see the following error in the log:
2020-05-12 09:16:27,874 ERROR o.a.j.p.h.p.Proxy: [58497]  Exception when processing sample
org.jsoup.UncheckedIOException: java.io.IOException: Mark invalid
    at org.jsoup.parser.CharacterReader.rewindToMark(CharacterReader.java:148) ~[jsoup-1.12.2.jar:?]
    at org.jsoup.parser.Tokeniser.consumeCharacterReference(Tokeniser.java:192) ~[jsoup-1.12.2.jar:?]
    at org.jsoup.parser.TokeniserState$40.read(TokeniserState.java:827) ~[jsoup-1.12.2.jar:?]
    at org.jsoup.parser.Tokeniser.read(Tokeniser.java:59) ~[jsoup-1.12.2.jar:?]
    at org.jsoup.parser.TreeBuilder.runParser(TreeBuilder.java:55) ~[jsoup-1.12.2.jar:?]
    at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:47) ~[jsoup-1.12.2.jar:?]
    at org.jsoup.parser.Parser.parse(Parser.java:107) ~[jsoup-1.12.2.jar:?]
    at org.jsoup.Jsoup.parse(Jsoup.java:58) ~[jsoup-1.12.2.jar:?]
    at org.apache.jmeter.protocol.http.proxy.FormCharSetFinder.addFormActionsAndCharSet(FormCharSetFinder.java:55) ~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
    at org.apache.jmeter.protocol.http.proxy.Proxy.addFormEncodings(Proxy.java:603) ~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:239) [ApacheJMeter_http.jar:5.3-SNAPSHOT]
Caused by: java.io.IOException: Mark invalid
    ... 11 more

I see a couple of HTTP requests recorded (so the button starts the action) - but not all and it never gets to the next screen... Works fine without recording.

Any thoughts / ideas how to troubleshoot it further?
Thanks,Alex
Reply | Threaded
Open this post in threaded view
|

Re: doesn't work during recording - java.io.IOException: Mark invalid ?

Philippe Mouawad
Hello Alexander,
You version of nightly seems to be from 3th march.
We updated jsoup to latest version on 7th march.

Can you try with this version:
https://dist.apache.org/repos/dist/dev/jmeter/apache-jmeter-5.3-rc1/

Thanks
Regards

On Tue, May 12, 2020 at 6:42 PM Alexander Podelko
<[hidden email]> wrote:

> Hi,
> The "register" button in my app doesn't work when I am recording it in
> JMeter (5.3-SNAPSHOT d652f1c).
> I see the following error in the log:
> 2020-05-12 09:16:27,874 ERROR o.a.j.p.h.p.Proxy: [58497]  Exception when
> processing sample
> org.jsoup.UncheckedIOException: java.io.IOException: Mark invalid
>     at
> org.jsoup.parser.CharacterReader.rewindToMark(CharacterReader.java:148)
> ~[jsoup-1.12.2.jar:?]
>     at
> org.jsoup.parser.Tokeniser.consumeCharacterReference(Tokeniser.java:192)
> ~[jsoup-1.12.2.jar:?]
>     at org.jsoup.parser.TokeniserState$40.read(TokeniserState.java:827)
> ~[jsoup-1.12.2.jar:?]
>     at org.jsoup.parser.Tokeniser.read(Tokeniser.java:59)
> ~[jsoup-1.12.2.jar:?]
>     at org.jsoup.parser.TreeBuilder.runParser(TreeBuilder.java:55)
> ~[jsoup-1.12.2.jar:?]
>     at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:47)
> ~[jsoup-1.12.2.jar:?]
>     at org.jsoup.parser.Parser.parse(Parser.java:107) ~[jsoup-1.12.2.jar:?]
>     at org.jsoup.Jsoup.parse(Jsoup.java:58) ~[jsoup-1.12.2.jar:?]
>     at
> org.apache.jmeter.protocol.http.proxy.FormCharSetFinder.addFormActionsAndCharSet(FormCharSetFinder.java:55)
> ~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
>     at
> org.apache.jmeter.protocol.http.proxy.Proxy.addFormEncodings(Proxy.java:603)
> ~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
>     at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:239)
> [ApacheJMeter_http.jar:5.3-SNAPSHOT]
> Caused by: java.io.IOException: Mark invalid
>     ... 11 more
>
> I see a couple of HTTP requests recorded (so the button starts the action)
> - but not all and it never gets to the next screen... Works fine without
> recording.
>
> Any thoughts / ideas how to troubleshoot it further?
> Thanks,Alex
>
> --
> Cordialement
> Philippe M.
> Ubik-Ingenierie
>
>
>
>
Philippe M.
@philmdot
http://ubikloadpack.com
Reply | Threaded
Open this post in threaded view
|

Re: doesn't work during recording - java.io.IOException: Mark invalid ?

Alexander Podelko
 Thank you! Works fine with RC1.
Alex

    On Tuesday, May 12, 2020, 12:55:19 PM EDT, Philippe Mouawad <[hidden email]> wrote:  
 
 Hello Alexander,
You version of nightly seems to be from 3th march.
We updated jsoup to latest version on 7th march.

Can you try with this version:
https://dist.apache.org/repos/dist/dev/jmeter/apache-jmeter-5.3-rc1/

Thanks
Regards

On Tue, May 12, 2020 at 6:42 PM Alexander Podelko
<[hidden email]> wrote:

> Hi,
> The "register" button in my app doesn't work when I am recording it in
> JMeter (5.3-SNAPSHOT d652f1c).
> I see the following error in the log:
> 2020-05-12 09:16:27,874 ERROR o.a.j.p.h.p.Proxy: [58497]  Exception when
> processing sample
> org.jsoup.UncheckedIOException: java.io.IOException: Mark invalid
>    at
> org.jsoup.parser.CharacterReader.rewindToMark(CharacterReader.java:148)
> ~[jsoup-1.12.2.jar:?]
>    at
> org.jsoup.parser.Tokeniser.consumeCharacterReference(Tokeniser.java:192)
> ~[jsoup-1.12.2.jar:?]
>    at org.jsoup.parser.TokeniserState$40.read(TokeniserState.java:827)
> ~[jsoup-1.12.2.jar:?]
>    at org.jsoup.parser.Tokeniser.read(Tokeniser.java:59)
> ~[jsoup-1.12.2.jar:?]
>    at org.jsoup.parser.TreeBuilder.runParser(TreeBuilder.java:55)
> ~[jsoup-1.12.2.jar:?]
>    at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:47)
> ~[jsoup-1.12.2.jar:?]
>    at org.jsoup.parser.Parser.parse(Parser.java:107) ~[jsoup-1.12.2.jar:?]
>    at org.jsoup.Jsoup.parse(Jsoup.java:58) ~[jsoup-1.12.2.jar:?]
>    at
> org.apache.jmeter.protocol.http.proxy.FormCharSetFinder.addFormActionsAndCharSet(FormCharSetFinder.java:55)
> ~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
>    at
> org.apache.jmeter.protocol.http.proxy.Proxy.addFormEncodings(Proxy.java:603)
> ~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
>    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:239)
> [ApacheJMeter_http.jar:5.3-SNAPSHOT]
> Caused by: java.io.IOException: Mark invalid
>    ... 11 more
>
> I see a couple of HTTP requests recorded (so the button starts the action)
> - but not all and it never gets to the next screen... Works fine without
> recording.
>
> Any thoughts / ideas how to troubleshoot it further?
> Thanks,Alex
>
> --
> Cordialement
> Philippe M.
> Ubik-Ingenierie
>
>
>
>
 
pmd
Reply | Threaded
Open this post in threaded view
|

Re: doesn't work during recording - java.io.IOException: Mark invalid ?

pmd
Happy it worked

Thanks for feedback

On Tue, May 12, 2020 at 9:34 PM Alexander Podelko
<[hidden email]> wrote:

>  Thank you! Works fine with RC1.
> Alex
>
>     On Tuesday, May 12, 2020, 12:55:19 PM EDT, Philippe Mouawad <
> [hidden email]> wrote:
>
>  Hello Alexander,
> You version of nightly seems to be from 3th march.
> We updated jsoup to latest version on 7th march.
>
> Can you try with this version:
> https://dist.apache.org/repos/dist/dev/jmeter/apache-jmeter-5.3-rc1/
>
> Thanks
> Regards
>
> On Tue, May 12, 2020 at 6:42 PM Alexander Podelko
> <[hidden email]> wrote:
>
> > Hi,
> > The "register" button in my app doesn't work when I am recording it in
> > JMeter (5.3-SNAPSHOT d652f1c).
> > I see the following error in the log:
> > 2020-05-12 09:16:27,874 ERROR o.a.j.p.h.p.Proxy: [58497]  Exception when
> > processing sample
> > org.jsoup.UncheckedIOException: java.io.IOException: Mark invalid
> >    at
> > org.jsoup.parser.CharacterReader.rewindToMark(CharacterReader.java:148)
> > ~[jsoup-1.12.2.jar:?]
> >    at
> > org.jsoup.parser.Tokeniser.consumeCharacterReference(Tokeniser.java:192)
> > ~[jsoup-1.12.2.jar:?]
> >    at org.jsoup.parser.TokeniserState$40.read(TokeniserState.java:827)
> > ~[jsoup-1.12.2.jar:?]
> >    at org.jsoup.parser.Tokeniser.read(Tokeniser.java:59)
> > ~[jsoup-1.12.2.jar:?]
> >    at org.jsoup.parser.TreeBuilder.runParser(TreeBuilder.java:55)
> > ~[jsoup-1.12.2.jar:?]
> >    at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:47)
> > ~[jsoup-1.12.2.jar:?]
> >    at org.jsoup.parser.Parser.parse(Parser.java:107)
> ~[jsoup-1.12.2.jar:?]
> >    at org.jsoup.Jsoup.parse(Jsoup.java:58) ~[jsoup-1.12.2.jar:?]
> >    at
> >
> org.apache.jmeter.protocol.http.proxy.FormCharSetFinder.addFormActionsAndCharSet(FormCharSetFinder.java:55)
> > ~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
> >    at
> >
> org.apache.jmeter.protocol.http.proxy.Proxy.addFormEncodings(Proxy.java:603)
> > ~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
> >    at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:239)
> > [ApacheJMeter_http.jar:5.3-SNAPSHOT]
> > Caused by: java.io.IOException: Mark invalid
> >    ... 11 more
> >
> > I see a couple of HTTP requests recorded (so the button starts the
> action)
> > - but not all and it never gets to the next screen... Works fine without
> > recording.
> >
> > Any thoughts / ideas how to troubleshoot it further?
> > Thanks,Alex
> >
> > --
> > Cordialement
> > Philippe M.
> > Ubik-Ingenierie
> >
> >
> >
> >
>



--
Cordialement.
Philippe Mouawad.