越来越强大的SAFS/STAF/STAX自动化测试框架

    上一次,向大家介绍了Openqa.org社区提供的、适合web应用的、开源的自动化测试框架 (开源测试工具/社区(Selenium /OpenQA.org)——今非昔比 )。最近,看到STAF+STAX发布了最新版本,包括许多服务组件,可以看出STAF+STAX的框架越来越完整,值得向大家推荐。  

        September 24, 2008: STAF 3.3.1, STAX 3.3.4, Cron 3.3.3, Email 3.3.2, Event 3.1.2, EventManager 3.3.3, and HTTP 3.0.1 are now available.  

而且STAF+STAX自动化测试框架的通用性更强大,适合各类应用系统,不仅适合B/S结构,而且还适合C/S结构的应用。STAF+STAX一种分布式远程调用体系,支持跨平台和多语言的自动化测试框架。作为完整系统框架,可以看作是3部分组成,即SAFSSTAFSTAX

(1)     SAFSSoftware Automation Framework Supporthttp://safsdev.sourceforge.net/Default.htm 是基于数据驱动和关键字驱动的思想设计的开源自动化测试框架, 支持跨平台、多语言的应用。

(2)     STAFSoftware Test Automation Frameworkhttp://staf.sourceforge.net/index.php )围绕组件重用的理念,通过服务调用(如远程处理、资源管理、监控等)来完成自动化架构的构造。STAF作为自动化测试框架,提供一种可插拨的机制,支持多平台与多语言的分布式结构。

(3)     STAXSTAf eXecution enginehttp://staf.sourceforge.net/getstax.php 是基于STAF的执行引擎,它采用XML格式描述。在XML文件中可定义测试工作流,可以实现并行执行、嵌套测试用例、控制运行时间等,STAX支持Java Python 模块

除此之外,还提供了许多增强服务,以满足自动化测试的需要,这些服务主要有:

³        时间驱动服务(Cron Service):按特定时间间隔运行STAF命令。

³        事件驱动服务(Event Service):由发生的事件来驱动进程通信,从而执行相关的STAF命令。

³        名字空间服务(Namespace Service):为了变量永久仓库的存储和搜寻而设定名字空间层次。

³        计数器服务(NamedCounter Service):针对特定的名字来动态地管理其计数器。

³        计时服务(Timer Service):一台机器周期性地收到另一台机器发来的消息。

³        邮件服务:将邮件消息发送给一批接收者。

³        扩展的文件系统请求处理工具(FSExt Service

 

    根据SAFSSTAFSTAX所具有的服务和功能,我们有信心它可以帮助我们建立一个良好的、企业级的自动化测试环境。下面,我就用一个图来展示它所带给我们的自动化测试环境。虽然没有在图中显示负载、性能测试工具,但实际上它可以支持各种测试工具,包括自己开发的测试工具。

 

 

 

具体应用,可以参考:

 

如需更多资料,可以访问下列资源:

 

         SAFSSTAFSTAX

         http://staf.sourceforge.net/index.php

         http://safsdev.sourceforge.net/Default.htm

  • STAF 3.3.1 (September 24, 2008) (Download)
  • STAX 3.3.4 (September 24, 2008) (Download)

Cron Service Version 3.3.3

The Cron service allows you to register STAF commands that will be executed at a specified time interval.
Note: Cron Service V3.3.3 requires STAF V3.1.0 or later.

FileFile Size
CronV333.tar1.7M
CronV333.zip1.6M
Cron Service User's Guide (V333)
Cron Service History

Email Service Version 3.3.2

The Email service will send an email message to a list of recipients.
Note: Email Service V3.3.2 requires STAF V3.0.0 or later.

FileFile Size
EmailV332.tar120K
EmailV332.zip68K
Email Service V3 User's Guide (V332)
Email Service V3 History

Event Service Version 3.1.2

The Event service provides an interface to allow process communication based on events occuring.
Note: Event Service V3.1.2 requires STAF V3.1.0 or later.

FileFile Size
EventV312.tar110K
EventV312.zip46K
Event Service User's Guide (V312)
Event Service History

EventManager Service Version 3.3.3

The EventManager service allows you to register with the Event Service in order to execute STAF Commands.
Note: EventManager Service V3.3.3 requires STAF V3.1.0 or later.

FileFile Size
EventManagerV333.tar1.7M
EventManagerV333.zip1.6M
EventManager Service User's Guide (V333)
EventManager Service History

FSExt Service Version 3.0.1

The FSExt service provides some tools to perform extended file system requests.
Note: FSExt Service V3.0.1 requires STAF V3.0.0 or later.

FileFile Size
FSExtV301.tar56K
FSExtV301.zip20K
FSExt Service User's Guide (V301)
FSExt Service History

HTTP Service Version 3.0.1

The HTTP service provides the ability to quickly and easily make HTTP requests.

Note: HTTP Service V3.0.1 requires STAF V3.1.0 or later.

FileFile Size
HTTPV301.tar1.7M
HTTPV301.zip1.6M
HTTP Service User's Guide (V301)
HTTP Service History

 

NamedCounter Service Version 3.0.1

The NamedCounter service provides the ability to dynamically manage counters based on a name.
Note: NamedCounter Service V3.0.1 requires STAF V3.0.0 or later.

FileFile Size
NamedCounterV301.tar32K
NamedCounterV301.zip12K
NamedCounter Service User's Guide (V301)
NamedCounter Service History

Namespace Service Version 1.0.0

The Namespace service provides a namespace hierarchy for storing and retrieving a persistent repository of variables.
Note: Namespace Service V1.0.0 requires STAF V3.0.0 or later.

FileFile Size
NamespaceV101.tar1.1M
NamespaceV101.zip1.1M
Namespace Service User's Guide (V101)
Namespace Service History

SXE Service Version 3.0.2

The STAF eXecution Engine (SXE) service allows the user to sequentially execute any number of STAF commands.
Note: SXE Service V3.0.2 requires STAF V3.0.0 or later.

FileFile Size
SXEV302tar40K
SXEV302.zip20K
SXE Service User's Guide (V302)
SXE Service History

Timer Service Version 3.0.2

The Timer service allows a process on one machine to periodically receive a notification message from the same or another machine.
Note: Timer Service V3.0.2 requires STAF V3.0.0 or later.

FileFile Size
TimerV302.tar76K
TimerV302.zip32K
Timer Service User's Guide (V302)
Timer Service History


Reference:

Test Automation Frameworks


  • 0
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 8
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值