Gatling 3.0 and gRPC

771 views
Skip to first unread message

Bes Slaaneshi

unread,
Jan 17, 2019, 11:07:07 AM1/17/19
to Gatling User Group
Hello, i'm trying to load test our gRPC service with gatling 3.0.
As i know official gatling dont support gRPC, so i found gatling-grpc project on github. https://github.com/tamediadigital/grpc-gatling
but cant understand how to use it. It have poorly documentation and even worse that i'm newbie to scala and autotest.

George Leung

unread,
Jan 25, 2019, 3:04:49 AM1/25/19
to Gatling User Group
Hi Bes,

Have you tried my version?

The project you linked has their specific gRPC service hard coded into the Gatling actions. It is unlikely that it can suit your need.
Giving credit where it is due, it helped a lot in understanding what I had to implement, when I tried to stress test my gRPC service with Gatling a year ago.

I know a blog post is no substitute for documentation, but that story I wrote a while ago may be of help to get you started.

Good luck with your test!

Regards,
George

Jay Ken

unread,
Jan 6, 2020, 2:26:09 PM1/6/20
to Gatling User Group
Hi George,

Thank you for your article. I tried to follow your instructions from Medium post But I get following error. 

/build.sbt:17: error: not found: value scalapb
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf"

Seems, it's not able to resolve scalapb. Am I missing something obvious?

Thanks,
Jay

George Leung

unread,
Jan 7, 2020, 1:21:08 AM1/7/20
to Gatling User Group
Hi Jay,

I think it is probably that you don't have the scalapb.sbt file.

Regards,
George

Sowmya Narayanamurthy

unread,
Jun 5, 2021, 2:29:39 AM6/5/21
to Gatling User Group
I am using gatling and gRPC using instructions from here https://medium.com/@georgeleung_7777/load-testing-grpc-services-with-gatling-990025c77055

What should I do to see the request and response in intellj console?

phi...@gmail.com

unread,
Jun 5, 2021, 10:36:57 AM6/5/21
to Gatling User Group
I have no idea what you mean by "in intellij console"
But you probably want to turn on logging.

Regards,
George

Sowmya Narayanamurthy

unread,
Jun 9, 2021, 1:19:17 AM6/9/21
to Gatling User Group
Thanks adding the logging helped.

Sowmya Narayanamurthy

unread,
Sep 15, 2021, 6:14:29 PM9/15/21
to Gatling User Group
Hello there,

is there a way to use authentication while using this plugin for gRPC?

Reply all
Reply to author
Forward
0 new messages