NIST random test suite choosing bitstream length and count I am trying to use the statistical test suite software from NIST SP800-2.
First it asks for bitstream length.
Usage: ./assess &lt;stream length&gt;
   &lt;stream length&gt; is the length of the individual bit stream(s) to be processed

After file is given to program, it asks for;
How many bitstreams?

How can I determine that values? Let's say I have 1000000 32-bit ASCII sequence of 0s and 1s in a file like;
01111111000111000110010001111010
.
.
.
00110100001001100010111100000011

Which values will be appropriate for this?
Look for the document "NIST Randomness Testing SP800-22b.pdf" (or more recent updates if available) in the NIST website.

My guess is that your sequences are way too short (32 bits long) and no kind of statistical convergence can be expected to occur, which is necessary for the test to work. I presume this may be the reason why you get the error message.

The section "sequence length", p.102 in the NIST document states:


  The determination as to how long sequences should be taken for the
  purposes of statistical testing is difficult to address. If one
  examines the FIPS 140-1 statistical tests, it is evident that
  sequences should be about 20,000 bits long.


Coupled with this, you have 1 million such outputs. Depending on the conditions of how these outputs were obtained, you may want to concatenate them into longer outputs, in some principled manner.