Run API test in CI (Jenkins) - apiconnect-test-monitor

What is the best way to run an API test that was created via the IBM API Connect Test and Monitor ?
I published a test and I would like my CI sever (jenkins or azure devops) to run it?
Many thanks,
Assaf

Great question Assaf. It is currently not possible in the product, however, is on the roadmap and is coming soon.
We will have APIs and Webhooks to help execute tests as part of your CI/CD processes. Meaning, the same tests you generated using the test composer and run in production can be recycled to ensure your deployments are error free.
As well, Jenkins is an industry standard so we will be providing a plugin to help facilitate the API testing processes via GUI. More details to come, will update this space when it does.
Alternatively keep your eye out here: http://ibm.biz/apitest

Related

Manifest V3 Policy Question - Is this loading a configuration or building an interpreter?

The newest Manifest V3 policy for Google Chrome states the following:
Building an interpreter to run complex commands fetched from a remote
source, even if those commands are fetched as data
I am building a Google Chrome plug in that helps automate logging in for our enterprise users. Sometimes, the websites we support change their layouts or their login flows. When we detect this scenario, I want to be able to send an updated configuration to our extension from our servers so that our extension is aware of the new steps to execute to login.
Would this general flow be a violation of the above policy?
Appreciate any feedback on this!
Best,
Cerby Extensions

How to link MSTest with Report Portal?

We have a Coded UI solution in TFS and run tests from MS Test Manager. How can I post test results into Report Portal?
I have just installed NUGet package from github
But it is unclear for me how to use it. Is there some documentation about using of Report Portal API?
Unfortunately, ReportPortal have no MSTest agent yet. But it has reach API so you could try to implement agent by yourself.
There are couple of other .NET-based clients (as example):
NUunit, Specflow
Server-side API is quite powerful to implement integration with any testing engine. You can have a look at it by the following link (must be logged in):
YOUR_RP_URL/ui/swagger-ui.html
I believe there now there is something that can connect reportportal and mstest: https://github.com/reportportal/agent-net-vstest

How to migrate a Project from 'OpenShift Web Console' to '(Next Gen) Web Console'?

Is there a way to migrate a server application (with its repository), to the new Next Gen Console?
I have already a WildFly server in my personal account at URL: https://openshift.redhat.com/app/console/applications
But when I open the Next Gen Console, it's empty, and suggest me to create new project with a new server.
https://console.preview.openshift.com/console/
Is there a way to avoid setting up everything again?
I would like to keep server configurations, git repository, and Jenkins app from my former OpenShift Web Console.
Sorry, there is no direct migration tool. The manner in which the systems works is quite different from an operational standpoint, but you are also potentially going to have to tweak how your application code is organised and configured. I would suggest you create a fresh application in the new version to learn more how they are different and then you can plan what you may need to do to migrate it. I would suggest making using of the Google Group for OpenShift if you have more questions as it provides a better forum for discussion.
https://groups.google.com/forum/#!forum/openshift

How to test openshift action_hooks prior to git push to Openshift server

I have been looking at Openshift docs and on Stack Overflow for a while now and I can't seem to get any answers.
I want to know what the standard pattern is for developing applications for deployment on Openshift? I am especially concerned with testing of action_hooks prior to deployment. I found this particularly troublesome when I was using a DIY cartridge recently where I had to deal with downloading dependencies in my build script prior to starting my application. As my application kept failing to start every time I made a change and pushed it (I only did this as an initial test of the Openshift service, I would never develop like this). I ended up having to ssh onto my instance and resolve the issue by trial and error (not really ideal).
I appreciate any help anyone can offer.
Thanks
The only way that I am aware of to test action hooks on OpenShift is to ssh into an application and run them manually from the command line. This way you can quickly debug & update them. Then copy them to your git repository and do a git push to deploy the new code.
The only other way I can think of would be to run OpenShift Origin (v2) locally and use that to test with.

Selenium Capabilities

I'm drowning in the Selenium documentation. What I've got so far is the ability to record a script in FireFox, export it to the new WebDriver format (JUnit4), open and tweak the test in Eclipse, then run it as a JUnit test in Eclipse.
What I'm wanting next:
to run the same test on multiple browsers
to have a suite of tests run on a remote server at a set interval
receive notification if a test fails
Is this possible using the path I've started down above? It's hard to tell, but I'm not sure that WebDriver is compatible with the RC server. Or, should I just take my suite of JUnit tests and integrate them with something like Cruise Control?
Thank you...
to run the same test on multiple browsers
See: How to run Google Chrome with Selenium RC?
to have a suite of tests run on a remote server at a set interval
This is hard, especially when you are running on headless (terminal only) machine. See this article. But not impossible, read further.
receive notification if a test fails
The typical configuration is to use CI server like Bamboo, take advantage of cargo-maven-plugin to deploy your application and run Selenium tests during integration-test phase. Easier said than done. Since CI server is typically headless, you will need freaks of nature like xvfb, taking a lot of screenshots since you have no idea what is happening during the build when it fails, and so on... But it is possible, we managed to setup such a process in our company and are very happy for it.
Bromine helps you to run on several browsers. Regarding "Scheduling" as already said, maven would help. Try to gather infos about Hudson. It helps a lot in scheduling. It supports selenium too. It helps to send notification also.