Re: Looking for a buildpack to run JMeter on CF


Daniel Jones
 

Hi Manglu,

Does your Cloud Foundry use Diego, and is Docker support
<https://docs.pivotal.io/pivotalcf/1-7/concepts/docker.html#push-docker>
enabled? For what I assume is a one-off task, creating a Docker image with
JMeter in will be a lot easier than crafting a buildpack.

I'm curious - what's your use-case for JMeter on Cloud Foundry?

Regards,
Daniel Jones - CTO
+44 (0)79 8000 9153
@DanielJonesEB <https://twitter.com/DanielJonesEB>
*EngineerBetter* Ltd <http://www.engineerbetter.com> - UK Cloud Foundry
Specialists

On Mon, Jul 18, 2016 at 1:04 AM, Manglu Balasubramanian <manglu(a)gmail.com>
wrote:

Hi

I haven't created buildpacks in the past (and only understand this concept
in theory).

I wanted to run JMeter on CF and i have the need to run the jmeter.sh.
Though JMeter is a java app and has a JAR which packages the artefacts, i
can't run it like a Java application and have this need to run jmeter.sh.

I tried to comprehend the Java Build pack to see how it runs the scripts
file for Tomcat, however I am lost and need help in figuring things out.

Here is how, conceptully I think it should work.

In the detect script, I should be looking for the presence of jmeter.sh
file. THe compile script doesn't need to do anything fanciful while the
release script should using the "jmeter.sh" for the start up of the droplet.


Appreciate if someone could point me to docs that could help me in
comprehending the Java Build pack better so that I can fork this and create
a build pack for me to run jmeter.

Thanks

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.