Examples from /src/master/samples/ not opening

Issue #250 resolved
Former user created an issue

Jmeter 5.4.3, 5.5, jmeter-plugin-manager installed. I get an error when opening any file jmx: Problem loading XML from:'C:\Users\user\Downloads\Smart close with filter sample.jmx'. Cause: CannotResolveClassException: html

Detail:com.thoughtworks.xstream.mapper.CannotResolveClassException: html what am I doing wrong

Comments (2)

  1. Peter Doornbosch repo owner

    You downloaded a HTML file instead of a jmx file. You can easily verify this by opening the file in a text editor: you’ll see “<!DOCTYPE html>” on the first line.

    I guess you went to https://bitbucket.org/pjtr/jmeter-websocket-samplers/src/master/samples/ and right-clicked on “Smart close with filter sample.jmx” and saved it. But on this page, “Smart close with filter sample.jmx” is a html link, so you actually downloaded this https://bitbucket.org/pjtr/jmeter-websocket-samplers/src/master/samples/WebSocket Single Read with Text or Binary.jmx page, not the content of the file.

    To download the file, click on “Open raw”, this will give you the real content of “Smart close with filter sample.jmx”

  2. Log in to comment