ETSI's Bug Tracker - Part 05: TTCN-3 Runtime Interface
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0006658 | Part 05: TTCN-3 Runtime Interface | New Feature | public | 27-11-2013 11:40 | 23-12-2013 14:17

Reporter | Jacob Wieland - Spirent |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | minor | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.6.1 (published 2014-06) | Fixed in Version | v4.6.1 (published 2014-06) |
Clause Reference(s) | 5.6
Source (company - Author) | Testing Technologies - Jacob Wieland

Summary | 0006658: random number generator should be available to test adaptation

Description

The test adapter (especially external functions, e.g. used for security testing) should be able to produce random numbers depending on the same seed as the calling TE behavior (to allow for reproducibility also on the test adapter level).
Therefore, the rnd function should be exposed to tri level by introducing
FloatValue triRnd(TriComponentId, FloatValue seed)
where seed can be null and which has the same semantics as the predefinded function rnd.

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0006624 | closed | Gyorgy Rethy | Part 01: TTCN-3 Core Language | Allow access to random seed per component.
related to | 0006659 | closed | Ina Schieferdecker | Part 06: TTCN-3 Control Interface | Generation of random numbers should be logged for analysis and reproducibility purposes.
related to | 0006660 | closed | Ina Schieferdecker | Ext Pack: Extended TRI (ES 202 789) | introduce xtriRnd

Attached Files | CR6658.doc (249,856) 27-11-2013 14:44 http://oldforge.etsi.org/mantis/file_download.php?file_id=2951&type=bug

Issue History
Date Modified | Username | Field | Change
27-11-2013 11:40 | Jacob Wieland - Spirent | New Issue |
27-11-2013 11:40 | Jacob Wieland - Spirent | Clause Reference(s) | => 5.6
27-11-2013 11:40 | Jacob Wieland - Spirent | Source (company - Author) | => Testing Technologies - Jacob Wieland
27-11-2013 11:57 | Jacob Wieland - Spirent | Status | new => assigned
27-11-2013 11:57 | Jacob Wieland - Spirent | Assigned To | => Jacob Wieland - Spirent
27-11-2013 11:58 | Jacob Wieland - Spirent | Relationship added | related to 0006624
27-11-2013 11:58 | Jacob Wieland - Spirent | Relationship added | related to 0006659
27-11-2013 14:07 | Jacob Wieland - Spirent | Note Added: 0011847 |
27-11-2013 14:07 | Jacob Wieland - Spirent | File Added: CR6658.doc |
27-11-2013 14:10 | Jacob Wieland - Spirent | Relationship added | related to 0006660
27-11-2013 14:24 | Jacob Wieland - Spirent | File Deleted: CR6658.doc |
27-11-2013 14:24 | Jacob Wieland - Spirent | File Added: CR6658.doc |
27-11-2013 14:26 | Jacob Wieland - Spirent | File Deleted: CR6658.doc |
27-11-2013 14:26 | Jacob Wieland - Spirent | File Added: CR6658.doc |
27-11-2013 14:37 | Jacob Wieland - Spirent | File Deleted: CR6658.doc |
27-11-2013 14:44 | Jacob Wieland - Spirent | File Added: CR6658.doc |
27-11-2013 14:50 | Jacob Wieland - Spirent | Target Version | => v4.6.1 (published 2014-06)
27-11-2013 14:52 | Jacob Wieland - Spirent | Note Added: 0011849 |
27-11-2013 14:52 | Jacob Wieland - Spirent | Assigned To | Jacob Wieland - Spirent => Ina Schieferdecker
27-11-2013 14:52 | Jacob Wieland - Spirent | Status | assigned => confirmed
23-12-2013 14:16 | Ina Schieferdecker | Note Added: 0011892 |
23-12-2013 14:16 | Ina Schieferdecker | Status | confirmed => resolved
23-12-2013 14:16 | Ina Schieferdecker | Resolution | open => fixed
23-12-2013 14:16 | Ina Schieferdecker | Fixed in Version | => v4.6.1 (published 2014-06)
23-12-2013 14:16 | Ina Schieferdecker | Status | resolved => closed

Notes

(0011847)
Jacob Wieland - Spirent
27-11-2013 14:07

Of course, in tri you cannot use FloatValue, so TriMessage has to be used in instead. The same thing should be done in XTRI.

(0011849)
Jacob Wieland - Spirent
27-11-2013 14:52

please review

(0011892)
Ina Schieferdecker
23-12-2013 14:16

as proposed.