GithubHelp home page GithubHelp logo

agent-java-soapui's Introduction

Join Slack chat! stackoverflow GitHub contributors Docker Pulls License Build with Love lambdaTest a27c44

Repositories structure

ReportPortal high level architecture

reportportal high level architecture

ReportPortal repositories structure

Report Portal organized into multiple repositories.

ReportPortal server side consists of the following services:

  • service-authorization Authorization Service. In charge of access tokens distribution
  • service-api API Service. Application Backend
  • service-ui UI Service. Application Frontend
  • service-index Index Service. Info and health checks per service.
  • service-analyzer Analyzer Service. Finds most relevant test fail problem.
  • gateway Traefik Gateway Service. Main entry point to application. Port used by gateway should be opened and accessible from outside network.
  • rabbitmq Load balancer for client requests. Bus for messages between servers.
  • minio Attachments storage.

Available plugins developed by ReportPortal team:

Client side adapters related repositories:

  • client-* - API integrations. Http clients, which process HTTP request sending.
  • agent-* - Frameworks integration. Custom reporters/listeners, which monitor test events and trigger event sending via client-*
  • logger-* - Logging integration. Logger appenders, which help to collect logs, bind it with test-case item via agent-* and send to server via client-*

Other repositories stored according to next rules

  • service-* - micro-services which are a part of Application
  • commons-* - common libraries, models, etc., used by micro-services

Installation steps

Simple setup with Docker

It's the best way for demo purposes and small teams. The database is already in the docker-compose.

  1. Install Docker (Engine, Compose)

  2. Download Example of docker-compose descriptor to any folder

  3. Deploy ReportPortal using docker compose plugin within the same folder

docker compose -p reportportal up

To start ReportPortal in daemon mode, add '-d' argument:

docker compose -p reportportal up -d
  1. Open in your browser IP address of deployed environment at port 8080
http://IP_ADDRESS:8080
  1. Use next login\pass for access:
  • default\1q2w3e
  • superadmin\erebus.

Please change admin password for security.

Mentioned compose file deploy all available Bug Tracking System integrations, which not always needed, but use resources.

Production-ready set and Custom deployment with Docker

For production usage, we recommend:

  • choose only required Bug Tracking System integration service. Exclude the rest

To customize deployment and make it production-ready please follow customization steps and details

Integration. How to get log data in

You should add Client Side code inside your test automation. It consists of:

  • client-* - API integrations. Http clients, which process HTTP request sending. E.g. for Java (client-java-*)
  • agent-* - Frameworks integration. Custom reporters/listeners, which monitor test events and trigger event sending via client-*
  • logger-* - Logging integration. Logger appenders, which helps to collect logs, bind it with test-case via agent-* and send to server via client-*

Integration steps and documentation

Contribution

There are many different ways to contribute to Report Portal's development, just find the one that best fits with your skills. Examples of contributions we would love to receive include:

  • Code patches
  • Documentation improvements
  • Translations
  • Bug reports
  • Patch reviews
  • UI enhancements

Big features are also welcome but if you want to see your contributions included in Report Portal codebase we strongly recommend you start by initiating a chat through our Team in Slack.

Contribution details

Documentation

Community / Support

License

Report Portal is Apache 2.0.

agent-java-soapui's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agent-java-soapui's Issues

Project Level Integration of Report Portal With Ready API

Hi Team,

I know there is already a thread going on in the graddle issue about this but since that thread is lost there so wanted to create a new issue for this.

We are trying to integrate Ready API 2.8.0 with report portal, the integration is done but we are able to push the reports at the test suite level only now.

We want the reports to be pushed at the project level so that the manual merging efforts in report portal can be saved.

Any comments or help is appreciated as its been a long time this issue has been highlighted in the Graddle build issue and is lost there.

Test Steps Not Displayed in Report Portal When Running Test Cases in Parallel in SoapUI

Description:
When I run test cases in paralel in SoapUI, the names and requests of test steps are not displayed in Report Portal. However; when i run test cases serially, they can be displayed.

Additional Infos:
-The property 'rp.reporter.type' has been set as 'test_based' . (Because i wanna see the total number based on test cases not step based.

Conclusion: Is there an issue which has already created/known or you have an alternative way to skip this problem?

Https version configuration of Report Portal with Ready API

Are there some different provisions for report portal hosted on https protocol.

because i am not able to see the report in RP while same thing when i am doing with HTTP i am able to get the same but that is on a different server. https is not working.

Can someone throw some light on this.

Is there some issue with logging reports to report portal using https protocol?

ReportPortal plugin cannot be initialized. 'org.apache.log4j.spi.LoggerRepository org.apache.log4j.Logger.getLoggerRepository()'

Seems like readyapi-3.10.0 pro has logger issues with reportportal

Followed steps to add the jar and listener to respective folders - Here are the details
image

Added Project Custom Properties - I am able to see that reportportal throws error if rp.api.key if not mentioned - This proves that reportportal is able to read the properties
image

But after providing proper properties - for some reason log4j has some issues
image

Definitely need some guidance here - ALso note: soapui lib folder already has log4j 2.11
image

Please assist in integration - Thanks.

Integration with ReadyAPI no longer works beginning with ReadyAPI 3.52.0

Is Report Portal still supporting the integration with ReadyAPI? The integration seems to have broken with version 3.52.0 of ReadyAPI. As of 3.52.0, ReadyAPI no longer supports "AMF Request test steps," which seem to be needed by Report Portal. My test suite does not use this request test step type, but the error in the logs seems to indicate Report Portal does.

13:39:18,685 ERROR [AbstractTestCaseRunner] An error occurred when notifying the listener before the test step execution. . . . Caused by: java.lang.NoClassDefFoundError: com/eviware/soapui/impl/wsdl/teststeps/AMFRequestTestStep at com.epam.reportportal.soapui.parameters.TestStepType.<clinit>(TestStepType.java:36) ~[?:?] at com.epam.reportportal.soapui.service.StepBasedSoapUIServiceImpl.startTestStep(StepBasedSoapUIServiceImpl.java:187) ~[?:?] at com.epam.reportportal.soapui.listeners.RPTestRunListener.beforeStep(RPTestRunListener.java:54) ~[?:?] . . . Caused by: java.lang.ClassNotFoundException: com.eviware.soapui.impl.wsdl.teststeps.AMFRequestTestStep at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] at com.eviware.soapui.plugins.JarClassLoader.loadClass(JarClassLoader.java:71) ~[ready-api-soapui-pro-3.52.0.jar:3.52.0] at com.epam.reportportal.soapui.parameters.TestStepType.<clinit>(TestStepType.java:36) ~[?:?] at com.epam.reportportal.soapui.service.StepBasedSoapUIServiceImpl.startTestStep(StepBasedSoapUIServiceImpl.java:187) ~[?:?] at com.epam.reportportal.soapui.listeners.RPTestRunListener.beforeStep(RPTestRunListener.java:54) ~[?:?]

SoapUI 4.3.0 integration error

Hi,
Hi , I am using reportportal soapUI listner for integrationg of test automation to reportportal server.
we were using soapUI : 2.0.0 and it was working fine (we were getting test result on report portal ) server.

Recently we have updated SoapUI (ReadyAPI ) version 2.3.0.
updated soapUI log4j xml file
Added report portal appended and logger.
Installed readyAPI plugin and added soapui reportportal jar file on lib and listener folder.
Now when we running out test , we are getting following error

Report Portal returned error
Status code: 400
Status message: Bad Request
Error Message: Incorrect Request. [Field 'launchId' shouldn't be null.] 
Error Type: INCORRECT_REQUEST
Stack Trace: 
com.epam.reportportal.exception.ReportPortalClientException: Report Portal returned error
Status code: 400
Status message: Bad Request
Error Message: Incorrect Request. [Field 'launchId' shouldn't be null.] 
Error Type: INCORRECT_REQUEST
Stack Trace: 
	at com.epam.reportportal.service.ReportPortalErrorHandler.handleClientError(ReportPortalErrorHandler.java:47)
	at com.epam.reportportal.restclient.endpoint.DefaultErrorHandler.handle(DefaultErrorHandler.java:73)
	at com.epam.reportportal.restclient.endpoint.DefaultErrorHandler.handle(DefaultErrorHandler.java:40)
	at com.epam.reportportal.restclient.endpoint.HttpClientRestEndpoint.executeInternal(HttpClientRestEndpoint.java:341)
	at com.epam.reportportal.restclient.endpoint.HttpClientRestEndpoint.post(HttpClientRestEndpoint.java:106)
	at com.epam.reportportal.service.ReportPortalService.startTestItem(ReportPortalService.java:246)
	at com.epam.reportportal.soapui.service.SoapUIServiceImpl.startTestCase(SoapUIServiceImpl.java:184)
	at com.epam.reportportal.soapui.listeners.RPTestSuiteRunListener.beforeTestCase(RPTestSuiteRunListener.java:77)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.eviware.soapui.plugins.PluginProxies$DelegatingHandler.invoke(PluginProxies.java:116)
	at com.sun.proxy.$Proxy48.beforeTestCase(Unknown Source)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner$4.notifyListener(WsdlTestSuiteRunner.java:258)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.notifyListeners(WsdlTestSuiteRunner.java:286)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.notifyBeforeRunTestCase(WsdlTestSuiteRunner.java:255)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.runSequential(WsdlTestSuiteRunner.java:171)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(WsdlTestSuiteRunner.java:119)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(WsdlTestSuiteRunner.java:1)
	at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Error during starting step:
Report Portal returned error
Status code: 400
Status message: Bad Request
Error Message: Incorrect Request. [Field 'launchId' shouldn't be null.] 
Error Type: INCORRECT_REQUEST
Stack Trace: 
Error during finishing step:
No enum constant com.epam.reportportal.soapui.parameters.TestStatus.PASS
java.lang.IllegalArgumentException: No enum constant com.epam.reportportal.soapui.parameters.TestStatus.PASS
	at java.lang.Enum.valueOf(Unknown Source)
	at com.epam.reportportal.soapui.parameters.TestStatus.valueOf(TestStatus.java:1)
	at com.epam.reportportal.soapui.parameters.TestStatus.fromSoapUIStep(TestStatus.java:44)
	at com.epam.reportportal.soapui.service.SoapUIServiceImpl.finishTestStep(SoapUIServiceImpl.java:264)
	at com.epam.reportportal.soapui.listeners.RPTestRunListener.afterStep(RPTestRunListener.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.eviware.soapui.plugins.PluginProxies$DelegatingHandler.invoke(PluginProxies.java:116)
	at com.sun.proxy.$Proxy47.afterStep(Unknown Source)
	at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.notifyListenersAfterStep(AbstractTestCaseRunner.java:297)
	at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:271)
	at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:50)
	at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:170)
	at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1)
	at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
```

Zip not generated

I am following the readme instructions to generate de zip. I run 'gradle build' command but, when it finishes, any file is generated.

Can you help me?

Thanks a lot

SOAP UI 5.4.0 :Getting error while configuring listeners

Hi ,
I am using SOAPUI 5.4.0 and added SOAP UI binaries on git to respective folders as per documentation.
And I started SOAP UI 5.4.0 again and I have found that listeners are not added.

I am only able to see:
Thu Jan 24 15:42:08 IST 2019:INFO:Adding listeners from [C:\Program Files\SmartBear\SoapUI-5.4.0\bin\listeners\agent-java-soapui-master\soapui\src\main\resources\reportportal-listeners.xml]
Please refer to SOAP logs for more details.

Best Regards,
Somesh

Logs:

Thu Jan 24 15:42:06 IST 2019:INFO:Adding [C:\Program Files\SmartBear\SoapUI-5.4.0\bin\ext\gradle-wrapper.jar] to extensions classpath
Thu Jan 24 15:42:06 IST 2019:INFO:Adding [C:\Program Files\SmartBear\SoapUI-5.4.0\bin\ext\postgresql-42.2.5.jre6.jar] to extensions classpath
Thu Jan 24 15:42:06 IST 2019:INFO:initialized soapui-settings from [C:\Users\XXX\soapui-settings.xml]
Thu Jan 24 15:42:08 IST 2019:INFO:Adding listeners from [C:\Program Files\SmartBear\SoapUI-5.4.0\bin\listeners\agent-java-soapui-master\soapui\src\main\resources\reportportal-listeners.xml]
Thu Jan 24 15:42:09 IST 2019:INFO:Adding plugin from [C:\Users\XXX\.soapuios\plugins\readyapi-postman-1.0.1.jar]
Thu Jan 24 15:42:09 IST 2019:INFO:Adding plugin from [C:\Users\XXX\.soapuios\plugins\ready-uxm-plugin-1.0.1-dist.jar]
Thu Jan 24 15:42:10 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
Thu Jan 24 15:42:10 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
Thu Jan 24 15:42:10 IST 2019:INFO:Adding plugin from [C:\Users\XXX\.soapuios\plugins\soapui-swagger-plugin-2.2-dist.jar]
Thu Jan 24 15:42:10 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
Added AutoFactory for [PluginPrefs]
Thu Jan 24 15:42:10 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
Thu Jan 24 15:42:10 IST 2019:INFO:Adding plugin from [C:\Users\XXX\.soapuios\plugins\ready-mqtt-plugin-dist.jar]
Added AutoFactory for [PluginTestStep]
Added AutoFactory for [PluginTestStep]
Added AutoFactory for [PluginTestStep]
Thu Jan 24 15:42:11 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
Added AutoFactory for [PluginPanelBuilder]
Added AutoFactory for [PluginPanelBuilder]
Added AutoFactory for [PluginPanelBuilder]
Thu Jan 24 15:42:11 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
Thu Jan 24 15:42:11 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
Thu Jan 24 15:42:11 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
Thu Jan 24 15:42:11 IST 2019:INFO:Adding plugin from [C:\Users\XXX\.soapuios\plugins\readyapi-swaggerhub-plugin-1.0.jar]
Thu Jan 24 15:42:11 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
Thu Jan 24 15:42:11 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
Thu Jan 24 15:42:11 IST 2019:INFO:5 plugins loaded in 2082 ms
Thu Jan 24 15:42:11 IST 2019:INFO:All plugins loaded
Thu Jan 24 15:42:11 IST 2019:INFO:Adding [C:\Program Files\SmartBear\SoapUI-5.4.0\bin\ext\gradle-wrapper.jar] to extensions classpath
Thu Jan 24 15:42:11 IST 2019:INFO:Adding [C:\Program Files\SmartBear\SoapUI-5.4.0\bin\ext\postgresql-42.2.5.jre6.jar] to extensions classpath
Thu Jan 24 15:42:11 IST 2019:INFO:initialized soapui-settings from [C:\Users\XXX\soapui-settings.xml]
Thu Jan 24 15:42:11 IST 2019:INFO:Adding listeners from [C:\Program Files\SmartBear\SoapUI-5.4.0\bin\listeners\agent-java-soapui-master\soapui\src\main\resources\reportportal-listeners.xml]
Thu Jan 24 15:42:12 IST 2019:INFO:Adding plugin from [C:\Users\XXX\.soapuios\plugins\readyapi-postman-1.0.1.jar]
Thu Jan 24 15:42:12 IST 2019:INFO:Adding plugin from [C:\Users\XXX\.soapuios\plugins\ready-uxm-plugin-1.0.1-dist.jar]
Thu Jan 24 15:42:13 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
Thu Jan 24 15:42:13 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
Thu Jan 24 15:42:13 IST 2019:INFO:Adding plugin from [C:\Users\XXX\.soapuios\plugins\soapui-swagger-plugin-2.2-dist.jar]
Thu Jan 24 15:42:13 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
Added AutoFactory for [PluginPrefs]
Thu Jan 24 15:42:13 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
Thu Jan 24 15:42:13 IST 2019:INFO:Adding plugin from [C:\Users\XXX\.soapuios\plugins\ready-mqtt-plugin-dist.jar]
Added AutoFactory for [PluginTestStep]
Added AutoFactory for [PluginTestStep]
Added AutoFactory for [PluginTestStep]
Thu Jan 24 15:42:13 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
Added AutoFactory for [PluginPanelBuilder]
Added AutoFactory for [PluginPanelBuilder]
Added AutoFactory for [PluginPanelBuilder]
Thu Jan 24 15:42:13 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details
Thu Jan 24 15:42:13 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details
Thu Jan 24 15:42:13 IST 2019:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details

Not able to see results on reportportal

I tried all step like putting the jar and reportportal listeners in soap UI folder, restarted the soap UI, take config from reportportal profile and update it in global as well as project properties in soap UI.

But even after doing all these things I am not able see results on reportportal.

Test executed successfully in soapui.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.