base 64 encoding (177 Views)
Occasional Contributor
Posts: 5
Registered: ‎02-20-2008
Message 1 of 2 (177 Views)

base 64 encoding

I am trying to convert base 10 value to base 64 but load runner is converting it incorrectly. 


base 10 value= 463076212249 
Expected base 64 value = GvRfj4Z 
Load Runner Output= NDYzMDk0MDAzNjU5 

#include "mic_socket.h" 
char *encodedMessage; 

encodedMessage = util_base64encode("463076212249"); 

lr_message( "The encoded message is: '%s' ",encodedMessage ); 
return 0; 

you can check the correct value on website: 

Please suggest how to get the correct value in VUGen.

HP Expert
Posts: 650
Registered: ‎04-06-2011
Message 2 of 2 (158 Views)

Re: base 64 encoding

[ Edited ]

Hello Hardeep

check this article:


The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.