Invalid UTF-8 start byte 0xa0
I am not able to fix the below issue in ReadyAPI - Invalid UTF-8 start byte 0xa0.Getting this error message in response. However same request payload is working in Postman. { "replyHeader" : { "rqUID" : null, "transactionRequestTs" : null, "responseTs" : "2022-01-14T08:24:16.645811-05:00" }, "modifiedRequest" : null, "quoteNumber" : null, "policyNumber" : null, "premium" : null, "errorMessages" : [ { "code" : "E010", "desc" : "Invalid UTF-8 start byte 0xa0" } ], "infoMessages" : null, "legalDisclaimer" : null }Solved20KViews0likes2CommentsReadyAPI - Dynamic POST using .xml files or using .csv file that are saved in the directory
I am using ReadyAPI (SOAPUI) POST method. I would like to POST content from an external file. 1) In the media type drop down I select application/xml ORapplication/json 2) And in the area where we put the actual payload, I would like to use the external file path so that content of that extenral file can be read and gets Send via POST method. Is above achievable? I can see it can be done for SOAP requests as per -https://www.soapui.org/docs/data-driven-tests/using-files.html BUT i am not sure if its possible to it for REST Request for POST method. I have been googling for days but can't find a solution so any help would be much appreciated. Basically my need is that i will have a bunch of XML payloads created at the given directory which i will need to send via POST method. I know how to make it data driven using DataSource/Loop but not sure if i can send POST request that exists as an external file. I hope i have explained the question correctly. Any further questions please let me know. Thanks for your help in advance.Solved8KViews0likes9Commentsjava.sql.SQLException : ORA-12269: client uses weak encryption/crypto-checksumming version
I am getting following error while building query (Data Connection) in ReadyAPI (3.5.1): java.sql.SQLException : ORA-12269: client uses weak encryption/crypto-checksumming version but no such error I get while executing same query on SQL Developer for the same connection. Any particular reason why this is happening and what can be done to resolve this issue?Solved7KViews0likes3CommentsHow to extract the access token from the 'Auth' tab and transfer it to the other requests in header?
I want to get the generated Access Token from the Auth tab and use it as a property for other tests. (Require to pass the access Tokens as the header for all the test steps). I want to avoid doing it manually for all the test steps. Is it possible for me to achieve that? Note: The access Tokens are not generated in the response. I'm using OAuth 2.0 and the tokens are getting generated in the Auth Tab. Attached is the screenshot for more reference.Solved6.8KViews0likes15Comments=,& characters are replacing with special Character
Request type -GET While reading &and =from excel and passing it as query parameter in SOAP UI for then value "&" ,"=" are replacing with %3Dand%26 character and due to that i am not geting correct response ,So could anyone help me out over here to resolve this issue ?Solved6.6KViews0likes6Commentsjson block as a property value
Is it possible to have a json block as my property value? { "firstName": "John", "lastName" : "doe", "age" : 26, "address" : { "streetAddress": "naist street", "city" : "Nara", "postalCode" : "630-0192" } I tried it by making it a single line and it worked. However, when it comes to large json data, it will be very hard to maintain it.Solved5.1KViews0likes8CommentsError jz00l when Connecting to sybase database via groovy
Hi, when I connect using the JDBC Request Test Step to my Sybase DBit works (or when I use the "test connection" button). When I do the same via groovy it doesn't here is the code and the logs: I'm not sure if it's a driver problem (I have jconn4.jar in the bin\ext folder), it's not a credential problem. I'm usingReadyAPi 2.5.0 Pro import groovy.sql.Sql def ConObj = context.testCase.testSuite.project.databaseConnectionContainer.getResourceByName('TestAutomation'); def sql = Sql.newInstance(ConObj.getConnectionString()); Logs: ERROR: java.sql.SQLException: JZ00L: Connection failed. Examine the SQLWarnings associated with this exception for the following reason (s): java.sql.SQLException: JZ00L: Connection failed. Examine the SQLWarnings associated with this exception for the following reason (s) at com.sybase.jdbc4.jdbc.ErrorMessage.raiseError(ErrorMessage.java:768) at com.sybase.jdbc4.tds.Tds.processLoginAckToken(Tds.java:5356) at com.sybase.jdbc4.tds.Tds.doLogin(Tds.java:725) at com.sybase.jdbc4.tds.Tds.login(Tds.java:579) at com.sybase.jdbc4.jdbc.SybConnection.tryLogin(SybConnection.java:422) at com.sybase.jdbc4.jdbc.SybConnection.handleHAFailover(SybConnection.java:3335) at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:348) at com.sybase.jdbc4.jdbc.SybConnection.<init>(SybConnection.java:253) at com.sybase.jdbc4.jdbc.SybDriver.connect(SybDriver.java:232) at com.eviware.soapui.support.GroovyUtils$DriverProxy.connect(GroovyUtils.java:151) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:270) at groovy.sql.Sql.newInstance(Sql.java:279) at groovy.sql.Sql$newInstance.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at Script7.run(Script7.groovy:10) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:98) at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:83) at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:158) at com.eviware.soapui.impl.wsdl.panels.teststeps.DebuggableProGroovyScriptStepDesktopPanel$RunDebugAction$1.run(DebuggableProGroovyScriptStepDesktopPanel.java:177) at java.lang.Thread.run(Thread.java:748)Solved5KViews0likes1CommentDataGen deprecated - Alternatives to define templates/multiline properties?
Hi all, in our project (using ReadyAPI 2.6.0) we do need the possibility to define one multiline template per step with property expansion enabled. DataGen templates do have exactly the expected behaviour, but unfortunately the docu states that DataGen is deprecated and will be removed in the next releases. The docu also states, that DataSource should be the proper replacement, but it isn't by far. There is no way to define some multiline text and i don't need the feature of multiple rows. "DataSource" is surely the proper way to define database like sets of entries with rows/columns to iterate over, but not to define a single static template. So what are my options? Why is DataGen deprecated? When will it be removed? Why isn't it possible to define simple multiline properties? What else could i do to achive this goal? Best regards, JoachimSolved4.5KViews0likes12Comments