It might look confusing but you don't need to worry at this point. Let's import the project into Eclipse IDE by clicking on 'File -> Import':Īfter a couple of popups where you just need to accept the default configuration, we will get such an error notification: Next, you need to take a configured Maven test project with the Gatling framework and some tests, or you can use the one we have created for testing purposes in this blog post. Now it should have an inactive 'Installed' button instead of the active 'Install' we had before: You can track the progress in the bottom right corner:Īfter installation is complete, in order to be 100% sure that the plugin is installed, you can open the marketplace again and recheck the 'Scala IDE' row. You can use the default selection for all the windows that you will get during the installation process.Īfter you go over the installation steps, Eclipse will take some time to finish the installation in background mode. Just click and proceed with couple of trivial installation steps. If you haven't installed this plugin before then you should see the 'Install' button on the right. We are looking for the one that starts with "Scala IDE": In the 'Eclipse Marketplace' you can use the 'Find' field to find all the Scala related plugins. To open the 'Eclipse Marketplace' just open the Eclipse application and go to 'Help -> Eclipse Marketplace': You can find it in the 'Eclipse Marketplace', which makes its installation pretty easy. In this article we are going to cover all the steps required to use the Eclipse IDE as your main development tool for Gatling tests' implementation and execution: setting up, configuration and running the tests.įirst, in order to use the Scala programming language in Eclipse, you need to install a separate plugin called "Scala IDE". That's why I thought that a step by step tutorial will be useful for those who might experience the same troubles in future. However, Eclipse doesn't have built-in Scala support and sometimes even experienced programmers have trouble running Gatling tests using their favorite Eclipse IDE. Gatling is based on the Scala programming language and you need to use Scala to write tests. I strongly believe that you should choose tools that you are comfortable to work with, if you have such an option. But I truly respect the opinion of other developers who prefer using Eclipse. Personally, I prefer using IDEA in all cases just because it perfectly fits my daily needs (for example, my favorite programming language is Kotlin which has a much better integration with IDEA rather than with Eclipse). If you haven't used any of these tools, you shouldn't find any big differences between them if you just need them for Gatling tests implementation. At the same time, there is another IDE that is widely used by many developers who create performance tests using the Gatling framework- Eclipse IDE.Įclipse has a much longer history than IDEA and many people use it and love it. We used an IDEA IDE development environment as the main target example of the tool to be used as an environment for test creation. In one of our previous articles we went over the required steps to setup your own Gatling test's implementation environment.
0 Comments
Leave a Reply. |