Giter VIP home page Giter VIP logo

Comments (5)

slandelle avatar slandelle commented on May 24, 2024

Please explain what you’re doing and why you feel this is a bug.

Reminder:
• you’re only supposed to explicitly pull the highcharts module, as demoed in our documentation and samples. The other ones must be pulled transitively.
• you’re supposed to use wildcards imports like documented.

Any other configuration is your decision and hence your responsibility.

from gatling.

tinomthomas avatar tinomthomas commented on May 24, 2024

@slandelle Apologies for not providing more context to the problem. Let me add more context:

We are using the below code to log the human-readable assertion text with printable() and values() methods, mentioned in my issue description, during the performance test run:

public static String toString(Assertion assertion) {
  var s = assertion.asScala();
  return s.path().printable() + ": "
    + s.target().printable() + " "
    + s.condition().printable() + " "
    + s.condition().values().mkString(", ");
}

The above code worked perfectly with version 3.9.5, but when I tried to migrate to version 3.10.5, the compiler could not find the printable() and values() methods.

When I analyzed the dependency tree, I found out that the issue happened because of the dependency change in version 3.10.5

Regarding your comments, I am adding my response inline:

  • "you’re only supposed to explicitly pull the highcharts module, as demoed in our documentation and samples. The other ones must be pulled transitively."
    Yes this is what we are doing
  • "you’re supposed to use wildcards imports like documented."
    The issue persists for both wildcard import and specific import

from gatling.

slandelle avatar slandelle commented on May 24, 2024

Hello,

Thanks, now I understand your issue.

Sorry, but you are not supposed to use these methods: asScala, printable(), etc. These are internals.
Only the types and methods documented in the official online documentation should be used by the end users.

from gatling.

tinomthomas avatar tinomthomas commented on May 24, 2024

@slandelle I see. Thanks for the clarification.

In that case, would you suggest an alternative for me to print the human-readable assertion text?

from gatling.

slandelle avatar slandelle commented on May 24, 2024

Sorry but this is not a feature we provide.
The assertions are meant to be generated internally by Gatling and printed in one of the official Gatling outputs (console, HTML reports, Gatling Enterprise).
I recommend that you stick to these.

from gatling.

Related Issues (20)

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.