JMeter JMX file uploaded to a BlazeMeter test fails validation

book

Article ID: 221600

calendar_today

Updated On:

Products

BlazeMeter

Issue/Introduction

A JMeter JMX file uploaded to a BlazeMeter test fails validation.

The same test loads with no issues in a local instance of JMeter.

Non-ASCII characters are not found in the JMX file when searching for non-ASCII characters using the following regular expression from the local JMeter search function:

Regular expression used:  [\x80-\xFF]

Cause

BlazeMeter does not support JMX scripts that contain non-ASCII characters as specified in the File Content Restrictions section of the Uploading Files article.

JMX scripts that contain invalid XML characters ( like � ), which are also non-ASCII characters, will fail validation when uploaded to a BlazeMeter test.

These non-ASCII characters cannot be found using the standard regular expression search utility in JMeter. 

Environment

Release : SAAS

Component : BLAZEMETER FUNCTIONAL TESTING

Resolution

Open the JMX file in a text editor, locate and delete all illegal XML characters.

Save the changes.

When the modified JMX file is uploaded to BlazeMeter, it will pass validation after all non-ASCII characters are removed.