Ticket #265 (new defect)

Opened 2 months ago

Last modified 5 days ago

Data-driven Tests Need hasMore() function

Reported by: fcohen Owned by:
Priority: major Milestone: verify
Version: 5.2.1 Keywords:
Cc:

Description

Some data-driven tests need to end when a DPL reaches the end of the data. The current DPL uses a "wrapping" behavior. When the DPL reaches the end position it goes back to the first position. For tests that need to end when the DPL reaches the end of the data file, TestMaker provides the <while> command in a TestScenario and a new hasMore() method in the DPL.

Attachments

HashDPL.zip (17.2 kB) - added by fcohen 8 weeks ago.
Example test to show the new function working
HashDPL.2.zip (16.5 kB) - added by llara 8 weeks ago.
Same example but with sleep = 1 sec. Synchronization problem appears

Change History

Changed 2 months ago by fcohen

  • milestone set to verify

Changed 2 months ago by llara

Luis: Provided DPL with hasMore function: - CSVDPL - CounterDPL - RDBMSDPL - HashDPL

Provided DPL without hasMore function: - LingoDPL - TheLocker?

Changed 8 weeks ago by fcohen

Example test to show the new function working

Changed 8 weeks ago by fcohen

Luis Carlos writes:

Further checking the system I found a Synchronization problem.

It seems that when the system finishes to fast, the results-XML is generated incomplete.

I am attaching another example, the same that I sent you, but were I set the sleeptime from 5 sec to 1 sec.

All the transactions are in the result file (localhost-uc0crl0sz0.xml) but the file is incomplete (it misses a closing tag).

I am checking this,

LC

Changed 8 weeks ago by llara

Same example but with sleep = 1 sec. Synchronization problem appears

Changed 8 weeks ago by fcohen

Synchronization problem in while test. When running while test too fast the generated result file is incomplete. The terminating <transaction log> tag is missing. Luis Carlos is working on this.

Changed 5 days ago by fcohen

  • version changed from 5.2 to 5.2.1
Note: See TracTickets for help on using tickets.