To use Cucumber (BDD) with Gatling (Performance)

1,273 views
Skip to first unread message

Giovanni Piñeros

unread,
Feb 28, 2018, 10:52:29 AM2/28/18
to Gatling User Group
Hi Friends,

I need information about testing of BDD integration  with gatling. somebody that can help me?

Thanks,

adrian...@hushmail.com

unread,
Mar 1, 2018, 4:55:05 AM3/1/18
to Gatling User Group
I have seen Cucumber used wrongly too many times, primarily with feature files written post application implementation and steps written imperatively to believe in its overall benefit. It’s easy to blame the tool’s usage and absolve the tool. 

However, there seems to be some basic specification semantics here:

Aidy 

Giovanni Piñeros

unread,
Mar 1, 2018, 6:55:34 AM3/1/18
to gat...@googlegroups.com
Hi Aidy

Off course, I understand your point of view. I am going to review this basic semantic speficiation. I need to know if is possible have BDD in Gherkin on .feature file.

Thanks so much :)

--
You received this message because you are subscribed to a topic in the Google Groups "Gatling User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gatling/ciNCO97o73c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gatling+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Giovanni Javier R. Piñeros Mora

Test Automation Engineer (Software Quality Assurance)

Mobile: (057) 301 518 2723

Skype: gjpinerosm

Software Developer

Bogotá, Colombia

Stéphane LANDELLE

unread,
Mar 1, 2018, 7:06:16 AM3/1/18
to gat...@googlegroups.com
What would a Gerkin file expressing a load test look like?

Stéphane Landelle
GatlingCorp CEO


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.

adrian...@hushmail.com

unread,
Mar 1, 2018, 7:20:25 AM3/1/18
to gat...@googlegroups.com
"""
Given 100 concurrent users per second
When I update my personal details
Then an updated confirmation receipt is returned
And the p99 is within 500ms
"""

It doesn't even read well or in my opinion add any value. 

For me, BDD is about writing readable tests from a user perspective - and if that interpretation in correct - then the Gatling DSL built around the HTTP domain is sufficient.  

Aidy


On 01/03/2018 at 12:06 PM, "Stéphane LANDELLE" <slan...@gatling.io> wrote:
What would a Gerkin file expressing a load test look like?

Stéphane Landelle
GatlingCorp CEO


On Thu, Mar 1, 2018 at 12:55 PM, Giovanni Piñeros <gjpin...@gmail.com> wrote:
Hi Aidy

Off course, I understand your point of view. I am going to review this basic semantic speficiation. I need to know if is possible have BDD in Gherkin on .feature file.

Thanks so much :)
2018-03-01 4:55 GMT-05:00 <adrian...@hushmail.com>:
I have seen Cucumber used wrongly too many times, primarily with feature files written post application implementation and steps written imperatively to believe in its overall benefit. It’s easy to blame the tool’s usage and absolve the tool. 

However, there seems to be some basic specification semantics here:

Aidy 

On Wednesday, February 28, 2018 at 3:52:29 PM UTC, Giovanni Piñeros wrote:
Hi Friends,

I need information about testing of BDD integration  with gatling. somebody that can help me?

Thanks,

--
You received this message because you are subscribed to a topic in the Google Groups "Gatling User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gatling/ciNCO97o73c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gatling+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Giovanni Javier R. Piñeros Mora

Test Automation Engineer (Software Quality Assurance)

Mobile: (057) 301 518 2723

Skype: gjpinerosm

Software Developer

Bogotá, Colombia

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.

Stéphane LANDELLE

unread,
Mar 1, 2018, 7:48:32 AM3/1/18
to gat...@googlegroups.com
This would be a very basic test with one single scenario and one single HTTP request, right?

Not an expert here, but IMHO, Gherkin is too limited to express sequences of actions. 

Stéphane Landelle
GatlingCorp CEO


"""
To unsubscribe from this group and all its topics, send an email to gatling+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Giovanni Javier R. Piñeros Mora

Test Automation Engineer (Software Quality Assurance)

Mobile: (057) 301 518 2723

Skype: gjpinerosm

Software Developer

Bogotá, Colombia

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+unsubscribe@googlegroups.com.

adrian...@hushmail.com

unread,
Mar 1, 2018, 8:08:46 AM3/1/18
to gat...@googlegroups.com
What I find as an interesting development is that load tests are now being seen from a functional perspective. However, our tools do not match this perspective. WebDriver is used most probably with a dynamic language driver like JavaScript or Ruby and then we *switch* to Gatling with an easy to understand DSL for basic simulations. Anything more complex is straight Scala. The Holy Grail is the combination of functional and load tests. Too much time and effort is wasted on completely different codebases and tools. This I think would mean a switch or some config that would run a headless browser with one user in Gatling. 

Gating is a test tool and both developers and testers use test tools. Testers may find Scala difficult (which may or may not limit Gatling's audience). Scala itself is a niche language mostly concentrated around Big Data and DSLs. The functional programming paradigm shift has not occurred - when the fundamental issues with previous languages may have been around heavyweight object-orientation and concurrency. Maybe Gatling could have a dynamic language binding (JRuby, Groovy) and attempt to cross the barrier between the skillsets of testers and developers and between load and functional tests. 

Aidy
Reply all
Reply to author
Forward
0 new messages