Executing the extension
After you finish writing the extension, launch the Burp Suite application and then click on Run
 | Run Project
.Â
The application will be launched with our extension running into it.
![](https://static.packt-cdn.com/products/9781788994064/graphics/36962325-0a7a-4fac-87bd-b6837c26fe40.png)
For this extension, you need to create a session handling and configure the options in the User-Agent
tab, as demonstrated in the following screenshot:
![](https://static.packt-cdn.com/products/9781788994064/graphics/fabf6f12-fe2d-4872-b0cd-808ed75a9af0.png)
As you can see in the following screenshot, the application ran without errors:
![](https://static.packt-cdn.com/products/9781788994064/graphics/05e436b6-3277-46d5-a6dc-f797406ddd3b.png)
If you want to publish your extension, you need to generate a JAR file and use an IDE to distribute it.
Â
Â