I have Web vuser license. I want to know can I use LRD functions in web vuser script and then be able to execute the script. Mote - I don't have license for DB vuser script. This topic is in continuation to my other topic
'How to script a process that requires max id?'. Eagerly waiting for your responses.
You can mix api's in one script. Mercury has a whitepaper available on their support website which documents how this can be done. The beiggest challenge is getting the sequence of calls correct where two apis are being used by the client. If two api's are not being used by the client, ite is advised that you will be creating a distortive load against your system under test and it will make predicting the failover point difficult.
I usually make use of a protocol analyzer to get the sequence of calls correct and then merge/munge together two different recorded virtual users into one script based upon the sequence of calls noted on the protocol analyzer trace.
As a note, your max ID is likely embedded within the HTML stream coming back from the server. It is always preferable to correlate within the stream than to go outside the stream. Unless you have some sort of holdlock against your query/update for maxid, it is possible that you could get two or more processes with the same ID, which is usually a violation of the session policy of the application/server.