Contributions
Re: [Test Engine] : Test Engine doesn't Start : JDBcSQLNonTransientException
I resolved my ussue by deleted in this fileC:\Users\QAAdmin\.readyapi\db\testengine.mv.db and after is ok I can restart TestEngine but i lost all result execution, and I need to reinstall to configure the admin user.2 years agoPlace ReadyAPI QuestionsReadyAPI Questions836Views0likes0Comments[Test Engine] : Test Engine doesn't Start : JDBcSQLNonTransientException
after reboot of windows my TestEngine doesn't start when I check the log, I have this error, How to correct this errir 06:40:14,398 ERROR [com.smartbear.ready.testserver.ReadyApiTestServerMain] Failed to start. Error occurred while applying database changes. org.h2.jdbc.JdbcSQLNonTransientException: Erreur générale: "java.lang.IllegalStateException: Chunk 36482313 not found [1.4.200/9]" General error: "java.lang.IllegalStateException: Chunk 36482313 not found [1.4.200/9]" [50000-200] at org.h2.message.DbException.getJdbcSQLException(DbException.java:505) ~[h2-1.4.200.jar:1.4.200] at org.h2.message.DbException.getJdbcSQLException(DbException.java:429) ~[h2-1.4.200.jar:1.4.200] at org.h2.message.DbException.get(DbException.java:194) ~[h2-1.4.200.jar:1.4.200] at org.h2.message.DbException.convert(DbException.java:347) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.Database.openDatabase(Database.java:333) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.Database.<init>(Database.java:301) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.Engine.openSession(Engine.java:74) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.Engine.openSession(Engine.java:192) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.Engine.createSessionAndValidate(Engine.java:171) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.Engine.createSession(Engine.java:166) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.Engine.createSession(Engine.java:29) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:340) ~[h2-1.4.200.jar:1.4.200] at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:173) ~[h2-1.4.200.jar:1.4.200] at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:152) ~[h2-1.4.200.jar:1.4.200] at org.h2.Driver.connect(Driver.java:69) ~[h2-1.4.200.jar:1.4.200] at java.sql.DriverManager.getConnection(DriverManager.java:681) ~[java.sql:?] at java.sql.DriverManager.getConnection(DriverManager.java:229) ~[java.sql:?] at com.smartbear.ready.testserver.ReadyApiTestServerMain.a(ReadyApiTestServerMain.java:425) ~[readyapi-testengine-1.27.0.jar:?] at com.smartbear.ready.testserver.ReadyApiTestServerMain.a(ReadyApiTestServerMain.java:411) [readyapi-testengine-1.27.0.jar:?] at com.smartbear.ready.testserver.ReadyApiTestServerMain.run(ReadyApiTestServerMain.java:283) [readyapi-testengine-1.27.0.jar:?] at com.smartbear.ready.testserver.ReadyApiTestServerMain.run(ReadyApiTestServerMain.java:104) [readyapi-testengine-1.27.0.jar:?] at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:59) [dropwizard-core-2.0.25.jar:2.0.25] at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98) [dropwizard-core-2.0.25.jar:2.0.25]Solved817Views0likes1Comment- 2 years agoPlace ReadyAPI QuestionsReadyAPI Questions702Views0likes0Comments
Regexep with JSONPAth Regex Match Assertion : Error with regex expression
Hi for a test i need to verify the structure of string . My string waited are 2 word with a comma in middle like this "totot,tata". and I need to verify that my JsonPath expression are equivalent with this expression I test this Regular expression /[a-z]/g,/[a-z]/g but this regex didn't functional. What is the best Regex used to resolved my issue.Solved713Views0likes1Commentwebsocker Test
Hi I need to collect a result by websocket in my application. I have a request with wss://<host>/test?id=55555 for exemple this websocket send statisitique , I want verify if the statistique is collectected and the result send by a websocket reponse send a Json. how to do that with ready api ?335Views0likes0CommentsDifference result between TestEngine and ReadyAPI
Hi Hi build my test with ready API, my test is OK, my test contains a groovy scripts however When I execute this test in TestEngine this same test is Failed. I add in this parametre : By default, Groovy scripting has limitations on writing data to properties and files. If you need fully functional Groovy scripts in your tests, you can turn off these restrictions. Turning off the restrictions can cause security vulnerabilities. To turn off the limitations, you need to set the groovy.allow.all system property to true. The way you do this depends on how you run TestEngine: but in my Test on TestEngine I have this error on my grouvy script., why the behaviour is different between TestEngine and ReadyAPI IDE ? Error. java.net.UnknownHostException: https Error. error at line: 201.1KViews1like4Comments