Highlighted
Absent Member.
Absent Member.
1329 views

Return Value of FileGetRow

Is the Row Pointer set by FileGetRow maintained for all the Virtual Users across all agents for the entire duration of test; just like FileGetNextUniqueRow? Or is it simply local to a particular Virtual User?

Thanks and Regards

Suraj Shankla

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: Return Value of FileGetRow

It depends! Yes, it depends on how the file was opened. If you opened it with FileCSVLoad, then it will be unique to the vuser; if FileCSVLoadGlobal, then to all vusers.

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Return Value of FileGetRow

Hi Suraj. I see that you'd gotten a response - I had something typed up but I'm not sure it was more helpful - and now I can't see how to get rid of this post! 🙂

The function FileCSVLoadGlobal is equivalent to the FileCSVLoad function except that the pointer to the current row is maintained globally between virtual users at one machine. This means that all virtual users of the file at one machine use the same global row pointer for the current row. Therefore you can sequentially access a file from multiple virtual users.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.