Skip to content

Conversation

@BhhavyaRSureka
Copy link
Owner

Please pull these awesome changes in! Test Name - ReatAssured-Test AI Type - Open AI AI Model - gpt-4 Test Type - Rest Assured test Use Type - ui Test Framework - rest-assured 

Access Logs At - https://dev.roost.ai/roostgpt/logs?trigger_id=9607a886-8a24-48ea-ad83-a028c0066c76

<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>compile</scope>
</dependency>
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[14,22] package io.restassured does not exist [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[15,27] package io.restassured.http does not exist [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[16,31] package io.restassured.response does not exist [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[17,17] package org.junit does not exist [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[19,29] package io.restassured does not exist [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[19,1] static import only from classes and interfaces [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[20,24] cannot find symbol symbol: class Assert location: package org.junit [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[38,6] cannot find symbol symbol: class Before location: class com.medeiros.RoostTest.transactionsGetTest [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[49,11] cannot find symbol symbol: variable RestAssured location: class com.medeiros.RoostTest.transactionsGetTest [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[51,17] cannot find symbol symbol: class Response location: class com.medeiros.RoostTest.transactionsGetTest [ERROR] /C:/Program Files/Go/src/github.com/API-MusicBlender-Java/src/test/java/com/medeiros/RoostTest/transactionsGetTest.java:[51,37] cannot find symbol symbol: method given() location: class com.medeiros.RoostTest.transactionsGetTest 

The added dependencies were missing.

FIX :- Added the necessary dependencies needed for the imports.

@BhhavyaRSureka
Copy link
Owner Author

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.565 s <<< FAILURE! - in com.medeiros.RoostTest.transactionsGetTest [ERROR] transactionsGet_Test Time elapsed: 1.551 s <<< ERROR! java.lang.IllegalArgumentException: Invalid number of path parameters. Expected 0, was 4. Redundant path parameters are: company=49238, from=2022-09-10T11:41:06+01:00, offset=90, limit=50. at com.medeiros.RoostTest.transactionsGetTest.transactionsGet_Test(transactionsGetTest.java:58) 

File had redundant path parameters, which lead to these BUILD ERROR.

FIX :- Removed redundant path parameters and added required query parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant