How to execute sequence from test?

In reply to UVM_LOVE:

In the test you are running (seq_from_test), you are starting ‘apb_sequence’. In ‘apb_sequence’, you are sending ‘packets’ number of packets. Since ‘packets’ is never set to any specific value, it defaults to 0, hence the sequence not doing anything and the test immediately exiting.