jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [jmeter] pmouawad edited a comment on pull request #499: AutoCorrelation: Add initial support
Date Tue, 28 Apr 2020 21:10:26 GMT

pmouawad edited a comment on pull request #499:
URL: https://github.com/apache/jmeter/pull/499#issuecomment-620853464


   Ok, so it works better when adding Correlation Response Recorder under HTTP(S)Test Script
Recorder.
   
   Now I get the popup where I select what I want to correlate.
   
   <img width="1278" alt="CORRELATION_POPUP" src="https://user-images.githubusercontent.com/3127467/80538095-68dacb80-89a5-11ea-9f03-c168e3aca897.png">
   
   It fails with exception:
   
   `2020-04-28 22:59:05,634 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main]
   com.jayway.jsonpath.InvalidPathException: Could not parse token starting at position 12.
Expected ?, ', 0-9, * 
   	at com.jayway.jsonpath.internal.path.PathCompiler.fail(PathCompiler.java:616) ~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:143)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readPropertyOrFunctionToken(PathCompiler.java:237)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:151)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readDotToken(PathCompiler.java:171)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:145)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readContextToken(PathCompiler.java:124)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.compile(PathCompiler.java:58) ~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.compile(PathCompiler.java:75) ~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.ValueNode$PathNode.<init>(ValueNode.java:776)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.ValueNode.createPathNode(ValueNode.java:231) ~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.readPath(FilterCompiler.java:364)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.readValueNode(FilterCompiler.java:95)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.readExpression(FilterCompiler.java:193)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.readLogicalANDOperand(FilterCompiler.java:189)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.readLogicalAND(FilterCompiler.java:151)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.readLogicalOR(FilterCompiler.java:131)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.readLogicalANDOperand(FilterCompiler.java:184)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.readLogicalAND(FilterCompiler.java:151)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.readLogicalOR(FilterCompiler.java:131)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.compile(FilterCompiler.java:77)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.filter.FilterCompiler.compile(FilterCompiler.java:53)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readFilterToken(PathCompiler.java:461)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:141)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readDotToken(PathCompiler.java:171)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:145)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.readContextToken(PathCompiler.java:124)
~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.compile(PathCompiler.java:58) ~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.path.PathCompiler.compile(PathCompiler.java:75) ~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.JsonPath.<init>(JsonPath.java:101) ~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.JsonPath.compile(JsonPath.java:467) ~[json-path-2.4.0.jar:2.4.0]
   	at com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:87) ~[json-path-2.4.0.jar:2.4.0]
   	at org.apache.jmeter.protocol.http.correlation.CreateJsonPathExtractor.getJsonPath(CreateJsonPathExtractor.java:90)
~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
   	at org.apache.jmeter.protocol.http.correlation.CreateJsonPathExtractor.createExtractor(CreateJsonPathExtractor.java:64)
~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
   	at org.apache.jmeter.protocol.http.correlation.CorrelationExtractor.createJsonPathExtractor(CorrelationExtractor.java:260)
~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
   	at org.apache.jmeter.protocol.http.correlation.CorrelationExtractor.createExtractor(CorrelationExtractor.java:218)
~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
   	at org.apache.jmeter.protocol.http.correlation.CorrelationExtractor.createExtractorParamInResponseBody(CorrelationExtractor.java:168)
~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
   	at org.apache.jmeter.protocol.http.correlation.CorrelationExtractor.createExtractorForParameter(CorrelationExtractor.java:125)
~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
   	at org.apache.jmeter.protocol.http.correlation.CorrelationExtractor.readResponse(CorrelationExtractor.java:75)
~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
   	at org.apache.jmeter.protocol.http.gui.CorrelationGui.lambda$createCorrelationGui$0(CorrelationGui.java:90)
~[ApacheJMeter_http.jar:5.3-SNAPSHOT]
   	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) ~[?:1.8.0_201]
   	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) ~[?:1.8.0_201]
   	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) ~[?:1.8.0_201]
   	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) ~[?:1.8.0_201]
   	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
~[?:1.8.0_201]
   	at java.awt.Component.processMouseEvent(Component.java:6539) ~[?:1.8.0_201]
   	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) ~[?:1.8.0_201]
   	at java.awt.Component.processEvent(Component.java:6304) ~[?:1.8.0_201]
   	at java.awt.Container.processEvent(Container.java:2239) ~[?:1.8.0_201]
   	at java.awt.Component.dispatchEventImpl(Component.java:4889) ~[?:1.8.0_201]
   	at java.awt.Container.dispatchEventImpl(Container.java:2297) ~[?:1.8.0_201]
   	at java.awt.Component.dispatchEvent(Component.java:4711) ~[?:1.8.0_201]
   	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) ~[?:1.8.0_201]
   	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) ~[?:1.8.0_201]
   	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) ~[?:1.8.0_201]
   	at java.awt.Container.dispatchEventImpl(Container.java:2283) ~[?:1.8.0_201]
   	at java.awt.Window.dispatchEventImpl(Window.java:2746) ~[?:1.8.0_201]
   	at java.awt.Component.dispatchEvent(Component.java:4711) ~[?:1.8.0_201]
   	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) ~[?:1.8.0_201]
   	at java.awt.EventQueue.access$500(EventQueue.java:97) ~[?:1.8.0_201]
   	at java.awt.EventQueue$3.run(EventQueue.java:709) ~[?:1.8.0_201]
   	at java.awt.EventQueue$3.run(EventQueue.java:703) ~[?:1.8.0_201]
   	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_201]
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
~[?:1.8.0_201]
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
~[?:1.8.0_201]
   	at java.awt.EventQueue$4.run(EventQueue.java:733) ~[?:1.8.0_201]
   	at java.awt.EventQueue$4.run(EventQueue.java:731) ~[?:1.8.0_201]
   	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_201]
   	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
~[?:1.8.0_201]
   	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) ~[?:1.8.0_201]
   	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_201]
   	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_201]
   	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_201]
   	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_201]
   	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_201]
   	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_201]`
   
   
   If you want to reproduce, I am using this website:
   https://challengers.flood.io/#about
   
   2) Another problem, I have issues checking checkbox, I need to first select a parameter
(I guess to have component get the focus). Then only I can start checking checkboxes
   Regards


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message