找不到Jmeter + Jenkins + File异常

时间:2018-10-24 12:48:44

标签: java jenkins jmeter extentreports

// ** Am正在运行与jenkins集成的仪表脚本,当尝试发送报告时,它抱怨“找不到文件异常”     在本地尝试过它可以正常工作,但是一旦移到服务器上就得到了错误。     尝试从工作区获取文件,它创建了文件夹但没有删除文件,并且正在使用扩展区报告任何建议/输入,对此表示赞赏

调试SMTP:找到扩展名“ SMTPUTF8”,arg“”         调试SMTP:protocolConnect登录,host = smtp.googlemail.com,user = rohith @ cowboyaliens.com,密码=         调试SMTP:尝试使用以下机制进行身份验证:LOGIN PLAIN DIGEST-MD5 NTLM XOAUTH2         调试SMTP:使用登录机制         调试SMTP:禁止AUTH LOGIN命令跟踪         调试SMTP:AUTH LOGIN成功         调试SMTP:use8bit否         邮件来自:         250 2.1.0 OK w2-v6sm5908675wre.57-gsmtp         RCPT至:         250 2.1.5 OK w2-v6sm5908675wre.57-gsmtp         调试SMTP:已验证的地址         调试SMTP:rohith@cowboyaliens.com         数据         354-w2-v6sm5908675wre.57-gsmtp         发送,关闭,抛出时,调试SMTP:IOException:         java.io.FileNotFoundException:/Users/alienbuilder/.jenkins/workspace/Sling-API-Automation/Sling/Report.html(无此类文件或目录)             在java.io.FileInputStream.open0(本地方法)             在java.io.FileInputStream.open(FileInputStream.java:195)             在java.io.FileInputStream。(FileInputStream.java:138)             在javax.activation.FileDataSource.getInputStream(FileDataSource.java:97)             在javax.activation.DataHandler.writeTo(DataHandler.java:305)             在javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1692)             在javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:996)             在javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:561)             在com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:84)             在javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:889)             在javax.activation.DataHandler.writeTo(DataHandler.java:317)             在javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1692)             在javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1913)             在com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1315)             在org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand.execute(SendMailCommand.java:303)             在org.apache.jmeter.protocol.smtp.sampler.SmtpSampler.executeMessage(SmtpSampler.java:169)             在org.apache.jmeter.protocol.smtp.sampler.SmtpSampler.sample(SmtpSampler.java:146)             在org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:491)             在org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:425)             在org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:254)             在java.lang.Thread.run(Thread.java:748)         摘要+ 1 in 00:00:05 = 0.2 / s平均:4262最小值:4262最大值:4262错误:1(100.00%)活动:0开始:1完成:1         摘要= 5 in 00:00:35 = 0.1 / s平均:6944最小值:2最大值:30225 Err:2(40.00%)         整理... @ 2018年10月24日星期三15:00:34 SAST 2018(1540386034868)         ...运行结束         归档工件         电子邮件已触发:始终         发送触发器电子邮件:始终         发送电子邮件至:rohith@cowboyaliens.com rohithreddy.polusani@absa.co.za         发送电子邮件时发生连接错误,请在10秒内重试...         发送电子邮件时发生连接错误,请在10秒内重试...         第二次尝试发送电子邮件后失败         完成:成功

0 个答案:

没有答案