

- #Jetbrains webstorm rest testing install
- #Jetbrains webstorm rest testing update
- #Jetbrains webstorm rest testing code
I can customize the HTTP request using the syntax described here. I select the API Gateway AWS Proxy to simulate an invocation by API Gateway. The first time I run the function, I can edit the configuration to choose the AWS credentials I want to use, the Region (for AWS services used by the function), and the input event to provide.
#Jetbrains webstorm rest testing update
Let’s update the assertion to make the test pass.īack to the function, I click Lambda icon on the left of the class definition to see the option to run the function locally or have a local step-through debugging session. The default application comes with unit tests that make it easy to build high-quality applications.
#Jetbrains webstorm rest testing code
I open the code in the src/main/java/helloworld directory and change the message to be “Hello World from IntelliJ”. The default application is composed of a single Lambda function that you can call via HTTP using Amazon API Gateway. I have to select it and right click to add it as a Maven project.īefore I start deploying the application, I choose the AWS Region from the bottom-right menu. I’m using Maven to manage the project and the Project Object Model (pom.xml) file is not in the root directory. In the next window, I choose a name for my project and finish. Now that the IDE is configured and ready, I create a new project, select AWS on the left, and then choose AWS Serverless Application. Then restart the IDE for the changes to take effect.īuilding a serverless application with IntelliJ
#Jetbrains webstorm rest testing install
In the Settings/Preferences dialog, click on Plugins, select Marketplace, search for “AWS Toolkit”, and click the Install button. Next, install the AWS Toolkit for IntelliJ via the JetBrains plugins repository. This toolkit also uses SAM CLI to build and create deployment packages for your applications. You can find installation instructions for your system here. It provides a Lambda-like execution environment and enables you to step-through and debug your code.
