Contributions
Re: With the latest upgrade of ready API to 1.8.0, my previous xpaths do not work.
Hi Tanya, I've gone through the write-up before i posted my question. I actually wanted something more specific to my problem so thought of creating a different thread. But thanks for directing me to it. I appreciate your concern. :) Thanks!8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews1like1CommentWith the latest upgrade of ready API to 1.8.0, my previous xpaths do not work.
I was using the XML response of a JDBC request as an input to another rest step using the 'Get data' option Previously it used to create an xpath like ( '${Get somevalue#ResponseAsXml#//Results[1]/ResultSet[1]/Row[5]/COLUMN_ONE[1]}' )" (in version 1.7.0) But now, it doesn't work. If I change the casing of COLUMN_ONE to column_one in above xpath, it starts working otherwise it throws an error {"message":"Unexpected character (',' (code 44)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: java.io.ByteArrayInputStream@54bd3f5b; line: 2, column: 19]"} Please suggest a workaround, as i have lots of JDBC requests in my project and changing the letter cases in all xpath requests would be a huge pain.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes5Comments