Property Expression in response of Virtual Service working locally on ITR but not on VSE server

book

Article ID: 197659

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

Below Property Expression working locally on itr but not on server.

{{=%beanshell% testExec.setStateValue("a",{{OTP}})}}{{a}}

where OPT and a are declared variables.

Gives " Stack OverFlow Exception:null " error. 

Cause

Missing meta-data for content-type.

Environment

Release : 10.6

Component : CA Application Test

Resolution

Adding "content-type" property with value as "application/json" in meta data for GET response will resolve the error.