const express = require('express') const app = express() const port = 4000 app.get('/', (req, res) => res.send('Hello World!')) app.listen(port, () => console.log(`Example app listening on port ${port}!`)) // node express.js /* /\ |‾‾| /‾‾/ /‾/ /\ / \ | |_/ / / / / \/ \ | | / ‾‾\ / \ | |‾\ \ | (_) | / __________ \ |__| \__\ \___/ .io execution: local--------------------------------------------------] servertor output: - script: - duration: 10s, iterations: - vus: 30, max: 30 time="2020-03-17T18:43:46Z" level=info msg=Running i=2981 t=955.5863msstarting time="2020-03-17T18:43:47Z" level=info msg=Running i=6792 t=1.9669787s time="2020-03-17T18:43:48Z" level=info msg=Running i=11514 t=2.9619078s time="2020-03-17T18:43:49Z" level=info msg=Running i=16089 t=3.9673322s time="2020-03-17T18:43:50Z" level=info msg=Running i=20744 t=4.9627029s time="2020-03-17T18:43:51Z" level=info msg=Running i=25548 t=5.9554418s time="2020-03-17T18:43:52Z" level=info msg=Running i=30668 t=6.9669815s time="2020-03-17T18:43:53Z" level=info msg=Running i=35639 t=7.9609981s time="2020-03-17T18:43:54Z" level=info msg=Running i=39840 t=8.9664527s time="2020-03-17T18:43:55Z" level=info msg=Running i=45099 t=9.9498675s time="2020-03-17T18:43:55Z" level=info msg="Test finished" i=45215 t=10.0061199s data_received..............: 9.8 MB 976 kB/s data_sent..................: 3.8 MB 380 kB/s http_req_blocked...........: avg=61.04µs min=0s med=34.5µs max=17.32ms p(90)=86.6µs p(95)=141.8µs http_req_connecting........: avg=2.83µs min=0s med=0s max=7.11ms p(90)=0s p(95)=0s http_req_duration..........: avg=3.5ms min=71.9µs med=3.12ms max=37.26ms p(90)=5.94ms p(95)=7.4ms http_req_receiving.........: avg=140.24µs min=41.3µs med=82.7µs max=33.34ms p(90)=220.6µs p(95)=317.31µs http_req_sending...........: avg=71.97µs min=16.8µs med=36.7µs max=26.57ms p(90)=111.3µs p(95)=171.8µs http_req_tls_handshaking...: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s http_req_waiting...........: avg=3.28ms min=0s med=2.94ms max=29.59ms p(90)=5.68ms p(95)=7.06ms http_reqs..................: 45238 4521.033173/s iteration_duration.........: avg=3.87ms min=580.1µs med=3.46ms max=37.51ms p(90)=6.4ms p(95)=7.96ms iterations.................: 45238 4521.033173/s vus........................: 30 min=30 max=30 vus_max....................: 30 min=30 max=30 */