I have been asked to create some automation tests to test an API for a project. I am fairly new to automation testing with limited knowledge of java. The instructions I have been given include; create a BDD style test suite using cucumber/gherkin syntax, utilizing Apache fluent-hc to interrogate the API. I have also been asked to create the test suite using Java. How can I utilize 'Apache fluent-hc' to test my API and can this be done via a Java IDE like 'IntelliJ IDEA'? Thanks
Testing APIs with Gherkin/Java and IntelliJ IDEA
698 Views Asked by user8406054 At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in INTELLIJ-IDEA
- How to Enable MultiDex Support in Intellij IDEA
- Where has "Show Type Info on Mouse Motion" gone in Intellij 14
- Simple JavaEE HTML GET/POST application
- Behaviour Difference: Intellij vs Eclipse
- IntelliJ warns "Cannot resolve variable" on EL variables declared in parent page of include
- Perforce workspaces and multiple branches
- How to invoke method/constructor parameter hint in IntelliJ?
- Breakpoint "concurrency" in Intellij
- How do I install Intellij on Ubuntu 15.04?
- How to disable Code Completion in Android Studio?
- How to unchain my program?
- How can I debug scala.js unit tests?
- Weblogic 12c web application not start properly after server reboot
- What is the principle of IntelliJ IDEA's remote debug?
- Node.js setup on Intellij Idea
Related Questions in GHERKIN
- Is there a way to create a custom cucumber formatter that prints the Given, When and Then steps
- Test class not found in selected project
- How to make step argument dependent on configuration?
- Specflow Testing
- Specflow Given When Then BUT?
- In “Given-When-Then” style BDD tests, is it OK to have multiple “When”s conjoined with an “And”?
- Calabash (ANDROID) - passing in compound statement values, how?
- How can we validate tabular data in robot framework?
- SpecFlow - Execute ScenarioOutline from Visual Studio Context Menu
- Specflow/Gherkin: How to handle bad data
- Grouping steps or concatenating scenarios in Gherkin
- How to tell behave at the command line about multiple steps/ directories
- Automatically add a tag for a Java Cucumber method
- How to specify dependency between multiple given, when or then in cucumber-jvm
- How do describe a simple process in Gherkin-style?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
That's indeed a very general question. I can just say in really short "yes you can use IntelliJ IDEA" for all Java related development.
From the other point, it is something that you have to learn and understand your own, before starting any development, as a sample, in which way your BDD tests will be developed based on the API technology and as you said that you have limited knowledge of Java I would suggest you read first how to create API in Java, of course, it all based on your requirements, but I prefer API development using Spring Boot.
And if you are interested in that, I will post my blog post URL here later on where I'm describing from 0 to end how to cover APIs with BDD (currently it is under preparation, next week I will post it).
Meanwhile, I will suggest you read this blog and earn some knowledge of APIs and their testing.
UPDATE: Here is the blog post about BDD that I promised - https://www.blazemeter.com/blog/api-testing-with-cucumber-bdd-configuration-tips