karate and report portal integration - karate

#peter Thomas Not sure if you have seen/heard of reportportal - https://github.com/reportportal/reportportal. This is interesting and It would be great if karate integrates with it. I also saw some one raising an issue there - https://github.com/reportportal/agent-java-cucumber/issues/18. I will try integrating and let you know and I am just suggesting something to you which can be a good value add. Your thoughts? Thanks.

Well we are deprecating the TestNG runner so that may be an issue unless there is community contribution: https://twitter.com/KarateDSL/status/1025067559027179521

Related

scoreManager.explainScore(solution) not working in Optaplanner

in the current Documentation of Optaplanner (7.40.0.Final) it says:
"The easiest way to explain the score during development is to print the return value of explainScore()"
When I create a scoreManager it doesn't have the method explainScore()
How do I get the explanation of the score in the Terminal? Where do I have to call the scoreManager?
I am working with Quarkus and my problem is very similar to the TimeTabling Problem.
Best regards and thank you in advance
Justin
Are you using the version coming with the Quarkus Platform BOM? Because in this case, it's 7.39.0.Final and that could explain your issue.
You can define the version yourself and upgrade to 7.40.0.Final. It might work, Geoffrey would be able to confirm.
He will also be able to tell you if he plans to upgrade Quarkus to 7.40.0.Final for 1.7.
That method was introduce recently. OptaPlanner 7.40.0.Final, the same version as the docs you're reading, definitely has it:
https://github.com/kiegroup/optaplanner/blob/7.40.0.Final/optaplanner-core/src/main/java/org/optaplanner/core/api/score/ScoreManager.java#L81

Serenity: How to differentiate the reports based on the platform used?

We are using serenity reports for both platforms to run automation scripts but not sure how to differentiate the features or scenarios in the reports to say which platform is belonged to. I have used tags still no use as those tags are shown for both platforms. Could someone suggest or help me to solve this issue would be a great favour please?
Serenity Version used: 2.0.30
Attached screenshot of a report
Thanks in Advance
Vamc
I think you're looking for a context property or/and tag injection feature. It's nicely described on authors blog here https://johnfergusonsmart.com/running-tests-different-environments-browsers-serenity-bdd/.

Does Karate DSL Framework has the capability of performing load testing

Currently, we've automated all of our web services using the Karate framework and it is super cool.Is there any way we can do the load testing with this tool?
Example: Given when I enroll a member 1000 times
Then the average response time should be 2.7 milliseconds
I'm the developer of Karate and it is great to hear this feedback, thanks !
Karate was not designed for load-testing - but we would like to support it in the future. But it is not a priority now, and there are things like mocking we want to get to sooner which we feel is a more critical need for many teams.
If you or the community would be willing to investigate and contribute, that would be great. One experiment I can think of is using the Java API try to create multiple threads and run a *.feature file.
EDIT: Karate now has Gatling integration: https://github.com/ptrthomas/karate-gatling-demo
Yesterday as part of my POC work w.r.t API demonstrated Karate in my office people were very much impressed. thanks for Karate team.

Selenium script to be used in QTP

There are 2 automaization tools in our project at this moment, one is Selenium, the other one is QTP. Now, we want to migrate the tests (develped in JAVA) on Selenium to QTP. So I would like to know if it is possible to do this thing cause for me, it's not in any situation...
Thanks in advance.
Allen
It is not possible to migrate scripts written in Selenium(Java) to QTP(vbscript)....
from previous experience I would consider the opposite ;)
from QTP to selenium.
of course I know that if you paid for the license, there is little chance of going the other way... but... management management management... ;)
anyway you could do a kind of "porting" of the two languages but yeah it is not going to be faster than if you do it from scratch.

QuickStart Tutorials for Rational Functional Tester (RFT)

I am new to RFT. Infact I have seen the interface only once. But now my next project seems to be an automation using RFT. I would like to get some quick start on learning RFT(Rational Functional Tester).
Can anyone show me some quick links as to where can I start with this?
Thanks in advance.
Your best bet is to first download RFT from here
Once the installation is done, Click the Help tab, and then click Tutorials. That will be a good quick start IMO.
Then access the sample projects in RFT and it is Eclipse based, so if you have used Eclipse before, it will be fairly easy to pick up.
You could go in more detail later, and look up features like "keyword driven frameworks" etc for a real world example.
Best of luck!
Please refer to IBM Release notes link where you can find Simple tutorials to get started with RFT.