Getting port 9200 open for integration tests?

What's the best way to embed elastic search in my tests.

I want integration tests for HTTP and want to do PUT/GET directly.

I looked at ElasticsearchIntegrationTest but it only seems to use node or
transport client directly.

Is there a way to get it to expose a port? or maybe the port is just
hidden from me...

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit