簡體   English   中英

我們如何在Loadrunner中關聯日期/時間

[英]How can we correlate date/time in loadrunner

我正在使用hp LoadRunner 12.53版本,請求正文中的時間戳如2017-09-0511:00:44.1017301

任何人都可以解釋1017301指的是什么

我認為這是百分之一秒: https : //msdn.microsoft.com/zh-cn/library/8kb3ddd4(v= vs.110).aspx# fffffffSpecifier

The "fffffff" custom format specifier represents the seven most significant 
digits of the seconds fraction; that is, it represents the ten millionths of 
a second in a date and time value.
Although it is possible to display the ten millionths of a second component 
of a time value, that value may not be meaningful. The precision of date and 
time values depends on the resolution of the system clock. On the Windows NT 
3.5 (and later) and Windows Vista operating systems, the clock's resolution 
is approximately 10-15 milliseconds.

您可以很容易地將精度提高到13位,幾千秒。 對於其他四位數字,您也可以使用帶有前導零的隨機四位數字。 您的開發人員正在使用它來確保請求之間的某種程度的唯一性。 如果他們真的對請求的審核跟蹤感興趣,那么他們將使用相同的時鍾進行審核收集,這將是服務器上的時鍾,而不是客戶端上的時鍾,這在時鍾上都將略有不同。毫秒級別,即使同步到相同的受信任時間源也是如此。

在百萬分之一秒內,相似的機會為零。

從技術上講,這不是關聯,而是從服務器發回並放置在后續請求中的數據的集合。 這很可能是用戶分配的參數,其中參數化引擎日期功能加上其余四位數的隨機數參數可以滿足您的需求。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM