Resource icon

POP Protocol to retrieve email from mailbox

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

admin

Administrator
Staff member
Aug 13, 2014
137
3
18
www.speforums.com
admin submitted a new resource:

POP Protocol to retrieve email from mailbox - Learn using POP protocol in loadrunner

To retrieve an email from gmail using loadrunner

Prerequisite : A working gmail account with password.

We created a script using POP3 Protocol in loadrunner and used following code to retrieve the emails

Code:
//int totalMessages;
    pop3_logon("Login", "URL=pop3s://{PUserID}:{PPassword}@pop.gmail.com:995","STARTTLS",LAST);
    //pop3_logon("Login", "URL=pop3://user0004t:my_pwd@techno.merc-int.com", LAST );
    // List all messages on the server and receive that value
    //totalMessages...

Read more about this resource...