1冒烟测试
2测试方案
(1)需求分析
(2)被测对象分析
(3)架构分析
(4)历史问题分析
(5)业界竞品分析(其他公司怎么做的)
(6)因子分析
用例类别:功能,性能 ,功耗
漏测报告
用例分步。冒烟测试,
级别0 ,(5%)
级别1 ,(15%)
级别2,(5%)
级别3,(莲路性用例30%)
---
评审需求,评审策略 ,生成用例,
...
公司安总让小弟做多人模拟绑定,于是就有了下文,非常简单,可以改下url做自动刷人气脚本
代码如下,请不要见笑
#-*- coding:utf-8 -*-
import requests, json, sqlite3, random,time,threading
from time import ctime
class BindOp(object):
def __init__(self):
global cookies
logindata = {
"usernam...
今天要模拟发送心跳的信息,本来昨天好好的,但是今天就不行了。叫来小离离,试了试问题依旧,没办法叫来老于,还是测试了一遍,最后才发先,居然是' "里面的双引号少了一个,最后导致了命令发过去。借口不识别。好囧啊,因为要满足7次心跳。但是没发现。python居然没有提示有问题。搞得一直以为是esl_working的借口死掉了。太low的问题啦
for i in range(7):
time.sleep(1)
print sock.sendto('DATASTART51000[{"eslid":"5D-CD-D9-99","nw1":"55-BA-8F-66...
import threading,time
from time import ctime,sleep
class A(object):
def b(self):
print ctime()
time.sleep(3)
print ctime()
def c(self):
print ctime()
time.sleep(4)
print ctime()
def process(self):
#args是关键字参数,需要加上名字,写...
if __name__ == '__main__':
# unittest.main()
try:
# 跑一个class
# suite1 = unittest.TestLoader().loadTestsFromTestCase(HELLO)
# suite1 = unittest.TestLoader().loadTestsFromTestCase(SALES_QUERY_ACK)
# suite1 = unittest.TestLoader().loadTestsFromTestCase(UNBIND)
# suite1 = unittest....
#-*- coding:UTF-8 -*-
import sys, unittest, xmlrpclib, time, socket, select, multiprocessing , random,sqlite3
from main import database
import esl_init
from main import create_task_data
from SimpleXMLRPCServer import SimpleXMLRPCServer
from SimpleXMLRPCServer import SimpleXMLRPCRequestHandl...
# -*- coding:utf-8 -*-
import time,difflib,sys
fa = open('D:\HS_B_02.txt')
a = fa.readlines()
fa.close()
fb = open('D:\\hs_goods_esl_pr.txt')
b = fb.readlines()
fb.close()
c = [i for i in a if i not in b]
fc = open('D:\C.txt', 'w')
fc.writelines(c)
fc.close()
set.intersection(...
# -*- coding:utf-8 -*-
import sys,pymssql
'''
try:
conn = pymssql.connect(host="192.168.2.109",user="hanshow",password="hanshow", database="yonghui1")
except pymssql.OperationalError, msg:
print "error: Could not Connection SQL Server!please check your dblink configure!"
sy...
#-*- coding:UTF-8 -*- #
import sys, unittest, xmlrpclib, time, socket, select, multiprocessing , random,sqlite3,re,unicodedata,requests,time,json
from main import database
import esl_init
from main import create_task_data
from SimpleXMLRPCServer import SimpleXMLRPCServer
from SimpleXMLRPCS...
#-*- coding:UTF-8 -*-
import sys, unittest, xmlrpclib, time, socket, select, multiprocessing , random ,sqlite3,re
from main import database
import esl_init
from main import create_task_data
from SimpleXMLRPCServer import SimpleXMLRPCServer
from SimpleXMLRPCServer import SimpleXMLRPCRequestH...
BUG 主题填写规范
【XXX项目名称或者基线版本】【功能点】【主题描述(简明扼要)】
备注:【功能点】提交bug时,如shop-web 中问题在商品管理模块,那么提交bug时选择该系统模块,问题在添加商品时出现,那么功能点就【添加商品】
BUG 描述
【测试环境】
描述操作系统、软件环境
【操作步骤】
描述bug出现的实际步骤描述
【实际结果】
【预期结果】
要求:以后问题单提交有截图的,务必上传图片及相关的log信息。
问题单需一对一来描述,不要一个问题连带多个结果描...
from selenium import webdriver
import win32api,win32con,time
from selenium.webdriver import ActionChains
class shopWeb(object):
def exit(self):
s.implicitly_wait(3)
s.quit()
def bind(self,salesno,eslid):
s.get("http://192.168.2.127:8080/shopweb/...
# encoding: utf-8
import time, sys, os, multiprocessing, platform, gc, threading
import esl_init, core, updata, query, bind, xmlserver, database, api20
import osd, beacom, ftp_server, netlink, summary, htp, dot_temp
from daemon import Daemon
import heartbeat, Queue, socket
from esl_init i...
#encoding: utf-8
import sys, unittest, xmlrpclib, time, socket, select, multiprocessing , random
from main import database
import esl_init
from main import create_task_data
from SimpleXMLRPCServer import SimpleXMLRPCServer
from SimpleXMLRPCServer import SimpleXMLRPCRequestHandler
import o...
from xml.dom import minidom
import unittest
#######################################################################
class ReadXml(object):
def ReadXml(self,filename,elementfirstnode,num,elementsecondnode):
dom = minidom.parse(filename)
root = dom.documentElement
...
#-*- coding:utf-8 -*-
'''
Created on 2016-6-8
@author: Administrator
'''
import sys, unittest, xmlrpclib, time, socket, select, multiprocessing , random,os
import database, esl_init
from main import create_task_data
from SimpleXMLRPCServer import SimpleXMLRPCServer
from SimpleXMLRPCSer...