search cancel

BlazeVSE causes testing to fail with "Content-Type: text Supported ones are: [text/xml]" error for the VSE response

book

Article ID: 216439

calendar_today

Updated On:

Products

BlazeMeter

Issue/Introduction

BlazeVSE mock service returns a response for specific birthdates in a request; otherwise, the request passes through to the live service.

When the VSE generates a response when the specific birhdates are used in the request, an Internal Server Error is generated and the logs show:

Content-Type: text Supported ones are: [text/xml]

Environment

Release : SAAS

Component : BLAZEMETER MOCK SERVICES

Cause

Responses in the MAR file used to create the BlazeVSE did not contain any Content-Type headers

Resolution

Add the Content-Type header set as 'text/xml' to all responses and recreate the VSE with the updated MAR file.