Forum Discussion

NewAutoTester's avatar
NewAutoTester
Contributor
6 years ago

Warnings "since there is no valid repository"

Hi,

I was able to suppress the "WARN [WsdlTestCasePro] The test run data of the test case 'xxxxxxxxxxxx' will not be stored, since there is no valid repository." by enabling the Test History disabled in ReadyAPI UI version in Windows. But still I get the "WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case 'xxxxxxxxxxxxxx' will not be stored, since there is no valid repository." 

 

Also please guide me to supress the same warning in linux headless machine, as I run the scheduled tests in Linux headless machine.

2 Replies

    • NewAutoTester's avatar
      NewAutoTester
      Contributor

      Hi,

      I already tried the solution in the link but it was not solving my problem as I run the readyapi tests from maven.

      Attach the output I got for referance.

       

      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building TestFramework 1.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ TestFramework ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 4 resources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ TestFramework ---
      [INFO] Nothing to compile - all classes are up to date
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ TestFramework ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 1100 resources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ TestFramework ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 4 source files to C:\Users\TestFramework\target\test-classes
      [INFO]
      [INFO] --- maven-surefire-plugin:2.18:test (default-test) @ TestFramework ---
      [INFO] Surefire report directory: C:\Users\TestFramework\target\surefire-reports

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running com.runner.TestRunner
      Feature: xxxxxxxxxxxxxx notification Check for xxxxxxxxxxxxxx addition triggered by xxxxxxxxxxxxxx Transation

      # xxxxxxxxxxxxxx will be retrieved from the registry tables in DB for the xxxxxxxxx under test
      @xxxxxxxxxxxxxx
      Scenario Outline: Check xxxxxxxxxxxxxx notification for xxxxxxxxxxxxxx addition after xxxxxxxxxxxxxx Trasaction with xxxxxxxxx as given in Examples # xxxxxxxxxxxxxx.feature:5
      Given Prepare an "xxxxxxxxxxxxxx" transaction request for "<Scenario>" with "<xxxxxxxxx>" and "<xxxxxxxxx>" as input data
      When Post Transaction request to xxxxxxxxxxxxxx
      Then Response has to be successful
      And xxxxxxxxxxxxxx should be found response successfully

      Examples:
      Tags: @xxxxxxxxxxxxxx
      - System property 'soapui.home' is not set! Using this directory instead: .
      12:20:18,264 INFO [license] ReadyAPI 2.3.0 (build 433) started - System properties: {OS=Windows 7, User name=}
      12:20:18,267 WARN [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
      12:20:18,272 WARN [SoapUIExtensionClassLoader] Missing folder [C:\Users\TestFramework\ext] for external libraries
      12:20:18,295 INFO [DefaultSoapUICore] No JDBC drivers found in extensions directory
      12:20:18,763 INFO [DefaultSoapUICore] SoapUI settings were initialized from [C:\Users\soapui-settings.xml]
      12:20:20,000 WARN [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
      12:20:24,628 INFO [WsdlProject] Loaded project from [file:/C:/Users/xxxxxxxxxxxxxx/TestFramework/src/test/resources/xml/xxxxxxxxxxxxxx/]
      12:20:27,340 WARN [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
      12:20:27,346 WARN [SoapUIJasperReportManager] The report directory "C:\Users\TestFramework" does not exist. The default report directory will be used.
      12:20:27,769 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case 'Updating a new xxxxxxxxx name' will not be stored, since there is no valid repository.
      12:20:27,979 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_setupxxxxxxxxx' will not be stored, since there is no valid repository.
      12:20:29,601 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_checkExistingTestCaseId' will not be stored, since there is no valid repository.
      12:20:32,550 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_updatexxxxxxxxxAlerts' will not be stored, since there is no valid repository.
      12:20:32,698 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_generateData' will not be stored, since there is no valid repository.
      12:20:33,236 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_updatexxxxxxxxxContractRoles' will not be stored, since there is no valid repository.
      12:20:33,414 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_generateData' will not be stored, since there is no valid repository.
      12:20:34,026 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_updatexxxxxxxxxxxxxxxxxx' will not be stored, since there is no valid repository.
      12:20:34,060 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_generateData' will not be stored, since there is no valid repository.
      12:20:34,921 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_deletexxxxxxxxx' will not be stored, since there is no valid repository.
      12:20:35,072 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_generateData' will not be stored, since there is no valid repository.
      12:20:35,604 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_getxxxxxxxxxFromxxxxxxxxxxxxxx' will not be stored, since there is no valid repository.
      12:20:37,818 WARN [WsdlTestCasePro] The test step run data (information about the latest runs) of the test case '_Getxxxxxxxxx' will not be stored, since there is no valid repository.
      Response is as expected
      xxxxxxxxx matched

      @xxxxxxxxxxxxxx
      Scenario Outline: Check xxxxxxxxxxxxxx notification for xxxxxxxxxxxxxx addition after xxxxxxxxxxxxxx Trasaction with xxxxxxxxx as given in Examples # xxxxxxxxxxxxxx.feature:21
      Given Prepare an "xxxxxxxxxxxxxx" transaction request for "Updating a new xxxxxxxxx name" with "xxxxxxxxx" and "xxxxxxxxx" as input data # StepDefinitionsTransactions.prepare_Transaction_Request_with_xxxxxxxxx(String,String,String,String)
      When Post Transaction request to xxxxxxxxxxxxxx # StepDefinitionsTransactions.post_Transaction_request()
      Then Response has to be successful # StepDefinitionsTransactions.response_has_to_be_successful()
      And xxxxxxxxxxxxxx should be found response successfully # StepDefinitionsTransactions.check_runner_output_for_response()

      1 Scenarios (1 passed)
      4 Steps (4 passed)
      0m58.855s

      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.094 sec - in com.runner.TestRunner

      Results :

       


      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:27 min
      [INFO] Finished at: 2018-10-29T12:21:18+01:00
      [INFO] Final Memory: 40M/162M
      [INFO] ------------------------------------------------------------------------