test-output

Sequence that writes random values to output stream.

Description

  • Name: @scramjet/test-output
  • Version: 0.23.0
  • Language: javascript
  • Author: pietrzakacper
  • Tags: easy,random generator,Data Producer

Running

❗ Remember to setup transform-hub locally or use the platform's environment for the sequence deployment.

Open the terminal and run the following commands:

# go to 'test-output' directory cd javascript/test-output # install dependencies npm install # go back to javascript/ directory cd ../ # deploy 'hello' Sequence si seq deploy test-output # See output of Instance process si inst output -

💡NOTE: Command deploy performs three actions at once: pack, send and start the Sequence. It is the same as if you would run those three commands separately:

si seq pack . -o test-output.tar.gz # compress 'test-output/' directory into file named 'test-output.tar.gz' si seq send test-output.tar.gz # send compressed Sequence to STH, this will output Sequence ID si seq start - # start the Sequence, this will output Instance ID

Output

Test 6 Test 0 Test 5 Test 4 Test 9 Test 2 Test 3 Test 4 Test 0 Test 2 Test 2 ...