Giter Site home page Giter Site logo

jmeter-cassandra's Issues

Needs help to start performance testing for Cassandra database

Hi All,
I am very new to cassandra . client asked me to test cassandra data base using Jmeter.
Before starting the test planning and script preparation can you please let me know the prerequisite for starting the jmeter script" As per my knowledge below are the requirement :

-Cassandra Database IPS
-created Cassandra plugin jar file created from "https://github.com/slowenthal/jmeter-cassandra/" and -will place it in LIb folder of jmeter
-user id,password
-jmeter 3.2 /any

  • sampler query to be run
    Do we need to install other drivers ( data stack etc) ?
    Kindly provide the steps and requirement to do Cassandra performance testing from jmeter.
    It would be very helpful to start.

Thanks..

TokenAware Policies

Hello,

I try to set the loadbalancer parameter to "TokenAware" but every time jmeter log tells me that this is the DCAwareRoudRobin is used, any idea?

TokenAwarePolicy

Log:
NFO 02/19, 09:55:47 licies.DCAwareRoundRobinPolicy Using data-center name 's1' for DCAwareRoundRobinPolicy (if this is incorrect, please provide the correct datacenter name with DCAwareRoundRobinPolicy constructor)

cannot build on a mac

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single (default-cli) on project jmeter-cassandra: Execution default-cli of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single failed: group id '1912048518' is too big ( > 2097151 ) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single (default-cli) on project jmeter-cassandra: Execution default-cli of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single failed: group id '1912048518' is too big ( > 2097151 )
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.apache.maven.plugins:maven-assembly-plugin:2.5.3:single failed: group id '1912048518' is too big ( > 2097151 )
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.lang.RuntimeException: group id '1912048518' is too big ( > 2097151 )
at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumber(TarArchiveOutputStream.java:623)
at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumbers(TarArchiveOutputStream.java:609)
at org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.putArchiveEntry(TarArchiveOutputStream.java:286)
at org.codehaus.plexus.archiver.tar.TarArchiver.tarFile(TarArchiver.java:329)
at org.codehaus.plexus.archiver.tar.TarArchiver.execute(TarArchiver.java:188)
at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:944)
at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:436)
at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:181)
at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:484)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more

Null Reference Exception with Cassandra Sampler

2015/10/02 14:09:07 ERROR - jmeter.threads.JMeterThread: Error while processing sampler 'Cassandra Sampler' : java.lang.NullPointerException
    at org.apache.cassandra.jmeter.sampler.CassandraSampler.sample(CassandraSampler.java:90)
    at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
    at java.lang.Thread.run(Unknown Source)

Windows 7, JMeter 2.13 r1665067, Cassandra Plugin 0.9.2

Have a very simple Test plan. Connect to server with Cassandra Connection, Cassandra sampler with a Select * FROM table and default settings.

User error, typo when inserting session variable into samplers leads to NRE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.