Comments (5)
The default setting is to fetch javascript packages from npm('npm:': 'https://unpkg.com/'), you can change that setting by editing the file systemjs.config.server.js and setting paths 'npm:': 'node_modules/' to fetch packages from your local node_modules directory.
That will fix the javascript loading issue.
from distgatling.
@Abiy ,
I have edited the file systemjs.config.server.js and set path 'npm:': 'node_modules/'. And now I get another error:
zone.js:1050 GET http://localhost:8080/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js 404 ()
(index):57 Error: Fetch error: 404 Instantiating http://localhost:8080/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js Loading http://localhost:8080/app/main.js Loading app at fetch.js:37 at ZoneDelegate.invoke (zone.js:388) at Zone.run (zone.js:138) at zone.js:872 at ZoneDelegate.invokeTask (zone.js:421) at Zone.runTask (zone.js:188) at drainMicroTaskQueue (zone.js:595) at n (shim.js:6150) at shim.js:6167 at MutationObserver.t (shim.js:2399)
Should I create this "node_modules" directory manually?
from distgatling.
from distgatling.
@Abiy
Thank you, this helped.
Managed to login
from distgatling.
Hi @Abiy ,
I would be thankful if you could help me one more time.
I run gatling scenario feeded with user emails.
val emails = ((0 until 10001) map (index => Map("email" -> s"user$[email protected]"))).queue
Could you please tell how can I distribute users over different workers?
So that one worker runs emails from 0 to 1000, second worker runs 1001 to 2000, etc.
Thanks,
Alex
from distgatling.
Related Issues (19)
- Support for gatling projects written with maven HOT 2
- Add feature to schedule load tests
- Allow for slim jars to be uploaded
- Prevent a job from kicking off if the JAR upload failed HOT 1
- Update documentation on how to access standard metrics HOT 1
- https://unpkg.com/[email protected]/operators.js 404 HOT 1
- Support for kubernetes worker deployments HOT 5
- Gatling-rest unable to complete 'Run reports' on large sets HOT 4
- Running inside Docker container HOT 3
- User defined Simulation class could not be loaded
- build flag to specify use of index_local.html and locally pulled npm_modules HOT 1
- Unable to build inside container HOT 1
- support for coursier HOT 1
- Add support for Uber-Jar to the website UI
- Connection timeout in Worker
- Expand out URL for job details when submitted via client
- Resolve NPE to meaningful error from missing YAML properties
- Expose error log for failed runs 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 distgatling.