Contributions
Kafka Subscriber launch in Test Case
Hi everyone, I success to create a Kafka connection (publish and subscrib) in my ReadyAPI project. When I execute the test steps by the Request Editor, this work fine. But when I want to execute all my test case, my Kafka Subscribe Test Step is canceled with the following error: Test Step Result: Step [API Connection] ran with an assertion status [CANCELED] Poll to kafka server was cancelled. Again, my Test Step work fine when I execute it since the Request Editor. Thank you in advance for your help. RegardsSolved3 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes2CommentsRemove project custom properties with TestRunner
Hello everybody, I'm looking for a solution to remove custom properties from my project. Indeed, during an execution with the TestRunner, I save data in project custom properties and I would like delete them with a script. This bellow script work fine when I play it with the Test Case execution, but not with the Test Runner Execution : runner.project.properties.each { if (testRunner.project.properties[it.key].name == 'XRAY-ID'){ log.info('On ne fait rien') } else { if (testRunner.project.properties[it.key].name.contains('P_') == true){ testRunner.project.removeProperty(testRunner.project.properties[it.key].name) } } } This script is positionned in a Script Test Step. Do you have an idea ? Thank you in advance for your help, AnthonySolved1.8KViews0likes4CommentsRe: ReadyAPI 3.1 - TestRunner - An illegal reflective access operation has occurred
Hirse Thank you for the tip. I tried to modify the testrunner.sh, but when I ran the pipeline, the warning was alway here as well as this line (was not here before) : /usr/local/SmartBear/RunProject.sh: line 1: /usr/local/SmartBear/ReadyAPI-3.1.0/bin/testrunner.sh: Permission denied I guess I can't modify the testrunner of the Docker Image.5 years agoPlace ReadyAPI QuestionsReadyAPI Questions552Views0likes0CommentsRe: ReadyAPI 3.1 - TestRunner - An illegal reflective access operation has occurred
Hirichie Yes, I speack about "image" because I use the testrunner dockerhub image. I don't speak about a ghost or somthing else. I just use the dockerhub image to launch my test on gitlab. That's why no java version is installed. The last version of this image use openjdk and not java (as I mention'd on my previous message). Hinmrao Indeed, it has no impact but I did not have these messages on version 3.0. I imagine it is related to the transition from JAVA to OpenJDK. I will indicate this to the Smartbear support.5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes2CommentsRe: ReadyAPI 3.1 - TestRunner - An illegal reflective access operation has occurred
richie I do not upgrade the openjdk, I just use the openjdk which preinstalled onthe latest image of thetestrunner(delivered by smartbear).5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.9KViews0likes1CommentRe: ReadyAPI 3.1 - TestRunner - An illegal reflective access operation has occurred
Hirichie Thank you for your answer. My gitlab runner do not contain any java version, I use the openjdk 12 which is installed on the ReadyAPI 3.1 image Maybe iy's openjdk the source of the problem ?5 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.9KViews0likes3CommentsReadyAPI 3.1 - TestRunner - An illegal reflective access operation has occurred
Hello everyone, I launch my ReadyAPI Tests with a gitlab runner. Since I updated my using image on ReadyAPI 3.1, I recieve the following errors : WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/usr/local/SmartBear/ready-api-license-manager-1.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release I dont recieve theses errors with the ReadyAPI 3.0 image. Any ideas ? Thank you in advances for your responses. Anthony5 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.1KViews0likes11Comments