Contributions
Re: How to parse HTML response
Currently what I was doing is data which I was getting from DB I was converting to XML.But my API response I was getting in HTML only.How can I parse html response in XML ?I need to validate those response. I was looking for groovy code .I don't have idea how to parse it .Any example that we be helpful!!10 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes0CommentsRe: How to parse HTML response
Yes, when I call the Rest api .in the response header Content-Type: text/html;charset=ISO-8859-1 My response is kind of <div id="defaultBaselineData"> <table class="baseTable" style="margin-left: 10px;"> <tbody> <tr> <td style="width: 10%;">Year</td> <td><label id="yearLabel1"></label></td> <td><label id="yearLabel2"></label></td> <td><label id="yearLabel3"></label></td> <td><label id="yearLabel4"></label></td> <td><label id="yearLabel5"></label></td> <td><label id="yearLabel6"></label></td> <td><label id="yearLabel7"></label></td> <td><label id="yearLabel8"></label></td> <td><label id="yearLabel9"></label></td> <td><label id="yearLabel10"></label></td> <td><label id="yearLabel11"></label></td> <td><label id="yearLabel12"></label></td> <td>12 Months</td> <td>Select</td> <td style="text-align: right !important"> <button title="Edit Dates" data-behaviors-eager="Plugin.Button" type="button" onclick="baselineDatePicker();">Edit Dates</button> </td> </tr> <tr>10 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.2KViews0likes0CommentsSOAPUI 5.0 PRO and Postgres JDBC 9.3
Hi, I am having issues with SoapUI not passing the right timestamps and timezone using JDBC 9.3. I am struggling since 4 days to understand how this is working for everyone. I have tried using groovy scripts using Gregorian as well as Joda time formats. Nothing is working. Have anyone faced this error? When I print the sql in log.info and run the SQL in database, I am able to fetch right data. But issue is happening only when SOAPUI is executing query using JDBC. This issue is only with time stamps and time zone. My requirement is to pass Time in UTC and Execute a DB query. Any help is appreciated!! Thanks10 years agoPlace ReadyAPI QuestionsReadyAPI Questions907Views0likes0Comments