Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started



ramakrishnab_179379 avatar image
ramakrishnab_179379 asked Erick Ramirez commented

Unable to run target/scala-2.12/gatling-dse-sims listSims

we are able to run sbt: assembly for gatling-dse-stress

After that, it created the file

sbt:gatling-dse-simcatalog> target/scala-2.12/gatling-dse-sims listSims
[error] Expected key
[error] Not a valid key: scala-2 (similar: scalafmt, scalaHome, scalastyle)
[error] target/scala-2.12/gatling-dse-sims listSims
[error] ^

Please helps how to resolve this one

10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez commented

@ramakrishnab_179379 It looks like you're running the gatling-dse-sims application from inside a sbt shell and it won't work. I'm not sure which instructions you're following but you need to run the application from a Linux shell.

Here is what I did on my test server using the instructions on First, I cloned the repository with:

$ git clone

Then I built the app:

$ cd gatling-dse-simcatalog
$ sbt clean assembly

Finally, to list the available simulations:

$ cd target/scala-2.12
$ ./gatling-dse-sims listSims
Available sims:
 - sims.examples.cql.members.InsertMembersSimulation
 - sims.examples.cql.orders.ReadOrderSimulation
 - sims.examples.cql.orders.ReadWriteOrderPercentSimulation
 - sims.examples.cql.orders.WriteOrderSimulation
 - sims.examples.cql.urls.InsertUrlsSimulation
 - sims.examples.graph.ReadSimulation
 - sims.examples.graph.ReadWriteSimulation
 - sims.examples.graph.WriteSimulation
 - sims.examples.solr.accounts.SolrQueryAccountsSimulation
 - sims.examples.solr.accounts.WriteAccountsSimulation

As a side note, Gatling DSE Stress and the simulation catalog are no longer being actively maintained.

We recommend that you instead use the recently-released NoSQLBench -- open-source NoSQL benchmarking software. You can find the NoSQLBench documentation at Cheers!

2 comments Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks, Erick we are able to execute now.

0 Likes 0 ·

Fantastic! Just a reminder that we no longer maintain that tool and that you should use NoSQLBench instead. Cheers!

0 Likes 0 ·