Comments (10)
@edwardsph just FYI https://twitter.com/ptrthomas/status/1775754727700996381
from karate.
@edwardsph thanks for the heads up. here's the link to the maven lib that we depend on: https://github.com/oracle/graaljs/blob/master/CHANGELOG.md#version-2310 to quote:
what are the main blockers you see ? I will need some time to investigate.
from karate.
saving screenshot for future reference
from karate.
Perhaps I was just getting the maven coordinates wrong but in my first few attempts I was just getting time outs when running tests. That is normally what I see when I have mismatched modules. I will try again tomorrow with the above for a guide. Thanks
from karate.
I have found a solution. The problem, as you pointed out above, is that the maven coordinates have changed with version 23.1.0. As such I had to exclude the graal dependencies from Karate and include the new ones directly.
<dependency>
<groupId>io.karatelabs</groupId>
<artifactId>karate-core</artifactId>
<version>1.5.0.RC3</version>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
<exclusion>
<groupId>org.graalvm.js</groupId>
<artifactId>js</artifactId>
</exclusion>
<exclusion>
<groupId>org.graalvm.js</groupId>
<artifactId>js-scriptengine</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js-scriptengine</artifactId>
<version>23.1.2</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js</artifactId>
<version>23.1.2</version>
<type>pom</type>
<scope>runtime</scope>
</dependency>
Once the coordinates in Karate are updated, I think I will be able to drop the exclusion and future compatibility issues between Quarkus and Karate can be resolved as before.
from karate.
thanks @edwardsph for the update. I'm seriously going to identify an alternative to graal, will keep you posted
I see that they have started 2 versions of even the maven JARs. one is js
and the other is js-community
I'm wondering if you are aware of what the difference is
from karate.
It appears to be about licensing issues. From https://github.com/oracle/graaljs?tab=readme-ov-file#maven-artifact:
Language and tool dependencies use the GraalVM Free Terms and Conditions (GFTC) license by default. To use community-licensed versions instead, add the -community suffix to each language and tool dependency
from karate.
@edwardsph thanks.
from karate.
@edwardsph I bumped the graap dep all the way to 24 to fix another issue: #2542
also this is the dependency I finally went with: 5eccc2a
from karate.
technically #2542 is a duplicate of this, but will keep both open for visibility
from karate.
Related Issues (20)
- getting this exception org.graalvm.polyglot.PolyglotException: not found: src/test/resources/payload/user.json in Karate HOT 2
- In Karate 1.2.0.RC1, the karate property set in karate-config.js file is coming as null when fetched in a Java File HOT 1
- Karate - Setting header for the subsequent calls on the same scenario is not working after updating to 1.x.x HOT 1
- Driver input method cannot type '[' HOT 6
- The request "path" can not be overwrited in mock.feature
- CRC of file being uploaded HOT 1
- MockServer/MockHandler performance HOT 1
- Doubt regarding afterScenario and afterFeature HOT 1
- I am not able to switch to new window from parent window. Switch page is not working HOT 3
- I'm having trouble executing Karate tests using Maven. HOT 1
- karate\examples\gatling Project is not working throwing "java.lang.ClassNotFoundException: mock.CatsKarateSimulation" starting with gradle HOT 4
- back() method in Karate UI testing is taking more than 30 seconds to complete
- Performance is going down on calling feature files HOT 1
- for some validation statement step is getting passed actually it should be failed HOT 1
- Docker image karatelabs/karate-chrome doesn't ship with chromedriver HOT 1
- For a large api response, karate throws an error and stops schema validation in between HOT 1
- Driver launch is failed often HOT 3
- Unable to user handler in websocket tests in 1.4.1 HOT 3
- Robot class is not working as expected HOT 3
- Class Not Found org/graalvm/polyglot/Value 1.4.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karate.