These days, I find it sometimes easier to start Confluence in Maven rather than in IDEA when I want to reproduce test failures. It has a more standard classpath, for example, and matches the behaviour of Bamboo more closely.
Now you can run any acceptance test or tests in IDEA, pointed at this Confluence instance.
If you're using port 9000 like in the example above, you'll need to change confluence_default.properties to set the port appropriately. The default is whatever some sloppy developer accidentally committed last – usually 8080.
When running the first acceptance test since you set up the instance, it needs to know what version of the functest plugin to install. Set the confluence.version system property in the VM settings of your test's run configuration to upload the right one:
The exception you'll get if you don't set this system property is:
The 'null' at the end of confluence-functestrpc-plugin:com.atlassian.confluence.plugins means you haven't specified the version number with the system property.
You can attach the debugger to Confluence on the port configured in the webapp POM, if you need to. I think it's 5005.
|Warning: Sample Content|
This is sample content that comes included with Confluence for the purposes of demonstrating how the product can be used.