美文网首页
性能测试-LoadRunner并发用户测试

性能测试-LoadRunner并发用户测试

作者: 社会主义顶梁鹿 | 来源:发表于2018-09-28 18:28 被阅读86次

    DELIMITER//

    CREATE PROCEDURE liu1()

    BEGIN

    DECLARE i INT DEFAULT 0;

    DECLARE username VARCHAR(20);

    DECLARE email VARCHAR(30);

    WHILE i<=10000 DO

    SET username=CONCAT('admin',i);

    SET email=CONCAT(username,'@163.com');

    SET i=i+1;

    INSERT INTO pw_members(uid,username,PASSWORD,safecv,email,groupid,memberid,groups,icon,gender,regdate,signature,introduce,oicq,aliww,icq,msn,yahoo,site,location,honor,bday,lastaddrst,yz,timedf,style,datefm,t_num,p_num,attach,hack,newpm,banpm,msggroups,medals,userstatus,shortcut)

    VALUES('',username, 'e10adc3949ba59abbe56e057f20f883e', '', email, 3, 12, '', '', 0, 1337953224, '', '', '', '', '', '', '', '', '', '', '0000-00-00', '', 1, '', '', '', 0, 0, '', '0', 373, '', '', '', 192, '');

    END WHILE;

    END;//

    DELIMITER//

    SELECT username

    INTO OUTFILE "c:\user.dat"

    LINES TERMINATED BY "\r\n"

    FROM pw_members;

    相关文章

      网友评论

          本文标题:性能测试-LoadRunner并发用户测试

          本文链接:https://www.haomeiwen.com/subject/ehgsoftx.html