Why the body of sequence is running for one time, even if the repeat statement is used in it?

In reply to swatisatpathy10:

Don’t use assert() when randomizing a transaction. Use an ‘if’ statement to determine if the randomization() call failed.

Are you calling raise_objection() and drop_objection() in your test? If the objections aren’t handled correctly, the test sequences will end prematurely.