https://bz.apache.org/bugzilla/show_bug.cgi?id=66122
--- Comment #3 from Mateus Dadalto <mateusdada...@gmail.com> --- I see what you mean... This will happen with anything that either comes from a function or it's stored in a variable. I still hope that this behavior gets fixed in future versions (IMHO it is not a user-friendly behavior). I just want to add that you'll have to deal with everything that might break a JSON (graphQL syntax has quotes in places that can cause this). E.G.: mutation { createCustomerV2( input: { firstname: "Bob" lastname: "Loblaw" email: "boblobl...@example.com" password: "b0bl0bl@w" is_subscribed: true } ) { customer { firstname lastname email is_subscribed } } } --- For now the solution I came up with was to add a JSR223 PreProcessor and just treat these cases myself. Here's the PreProcessor code in case someone needs it. def content = new File(vars.get('fileName')).text; vars.put('queryContent', content.replaceAll(/(\r\n|\r|\n)/, /\\n/).replaceAll(/"/, /\\"/)) -- You are receiving this mail because: You are the assignee for the bug.