RestAssuredFramework | API Automation Framwork built using Rest Assured Java | Functional Testing library

 by   amuthansakthivel Java Version: Current License: No License

kandi X-RAY | RestAssuredFramework Summary

kandi X-RAY | RestAssuredFramework Summary

RestAssuredFramework is a Java library typically used in Testing, Functional Testing, Selenium applications. RestAssuredFramework has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

API Automation Framwork built using Rest Assured, Java, Maven, TestNG, Extent Reports. How to use this framework?. Clone the repository to your workspace. Open the testdata.xlsx under the src/test/resources folder. In the RunManager sheet -->Choose the test cases you want to run by choosing yes. In the testdata sheet --->Choose the test data you want to pass to the testcase from excel sheet. The data from the excel sheet will be passed to the test method as a hashtable. Run the testng.xml file always. Note: If you try to run individual tests as testng test, you will get NPE as the listeners are configured in testng.xml. You can add maven surefire plugin to trigger the testng.xml file from pom.xml. How the framework works?. AnnotationTransformer class which implements IAnnotationTransformer is reponsible for reading the data from RunManager sheet in testdata.xlsx It sets the annotation of the test methods like description,enabled, priority, dataprovider values read from the excel. Things to note : Test name in the first column of the excel sheet should match with atleast an @Test available in test classes mentioned in the testng.xml. All the tests will have the same dataprovider in the TestUtils class. For example the loginTest in RunManager sheet of testdata.xlsx will take the data from TestData sheet which have row where the testname is loginTest. If there are multiple rows with loginTest as test name , framework will consider it as this as multiple iterations for a test case. TestCase description given in the excel sheet will be displayed in the extent reports. Data from excel sheet will be available as Hashtable parameter to your tests. You can fetch the value using data.get("columnnameinexcel") Refer the already existing tests for more details. I have used some dummy API's for testing purpose. If you trying to run the BestBuyAPI test cases, make sure you configure as per below docs and make sure that the server is up and running on Make sure you have NodeJS installed (we require version 4 or newer). Please feel to report any issue or PR for any improvements. Reach me at mech.amuthansakthivel@gmail.com. To get trainings on how to create this framework from scratch or to get recordings on sessions , contact mech.amuthansakthivel@gmail.com Please feel to report any issue or PR for any improvements.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              RestAssuredFramework has a low active ecosystem.
              It has 86 star(s) with 83 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              RestAssuredFramework has no issues reported. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of RestAssuredFramework is current.

            kandi-Quality Quality

              RestAssuredFramework has 0 bugs and 0 code smells.

            kandi-Security Security

              RestAssuredFramework has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              RestAssuredFramework code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              RestAssuredFramework does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              RestAssuredFramework releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              RestAssuredFramework saves you 605 person hours of effort in developing the same functionality from scratch.
              It has 1409 lines of code, 112 functions and 18 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed RestAssuredFramework and discovered the below as its top functions. This is intended to give you an instant insight into RestAssuredFramework implemented functionality, and help decide if they suit your requirements.
            • Generate a random HHB number
            • Generates a random numeric string
            • Generates a random string
            • Called when a test is started
            • Set the testcase name
            • Set the extents test to use
            • Send error message
            • Get the ExtentTestTest
            • This is called when a test succeeds
            • Print a PASS message
            • Called when a test is skipped
            • Send a skip message
            • This method is called after the test is executed
            • Reports an assertion failure
            • Generates a random Master Bill Number
            • Send a warning message
            • Transform test annotation
            • Called when the test fails
            • Send a unknown message
            • Print info message
            • Send a fatal message
            • Called when a test is finished
            • Generate a random master file number
            Get all kandi verified functions for this library.

            RestAssuredFramework Key Features

            No Key Features are available at this moment for RestAssuredFramework.

            RestAssuredFramework Examples and Code Snippets

            No Code Snippets are available at this moment for RestAssuredFramework.

            Community Discussions

            QUESTION

            Unable to run cucumber scenarios using intellij and ubuntu, implement step definitions but they are already implemented
            Asked 2020-Feb-03 at 18:36

            I am trying to run a sample feature file with a couple cucumber scenarios, but when i run them i get that i did not implement the step definition, but i actually did, i have a folder called stepDefinitions and inside a java class called StepDefinition, where i wrote the steps

            ...

            ANSWER

            Answered 2020-Feb-03 at 18:36

            You need to provide correct glue in @CucumberOptions annotation

            Source https://stackoverflow.com/questions/59941400

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install RestAssuredFramework

            You can download it from GitHub.
            You can use RestAssuredFramework like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the RestAssuredFramework component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/amuthansakthivel/RestAssuredFramework.git

          • CLI

            gh repo clone amuthansakthivel/RestAssuredFramework

          • sshUrl

            git@github.com:amuthansakthivel/RestAssuredFramework.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link