??Web????? - PowerPoint PPT Presentation

1 / 56
About This Presentation
Title:

??Web?????

Description:

. 2 2.1 Jmeter Jmeter ; Web ; ... – PowerPoint PPT presentation

Number of Views:123
Avg rating:3.0/5.0
Slides: 57
Provided by: zha75
Category:
Tags: jmeter | web

less

Transcript and Presenter's Notes

Title: ??Web?????


1
????????
  • ??????????
  • ???

2
??
  • ????????
  • ?????????
  • ???????????
  • ?????????
  • ?????????
  • ?????????
  • ??????
  • ??Web?????
  • ??GUI?????
  • ??????
  • ???????????
  • ???????????
  • ????????
  • ?????

3
1.1 ?????????
  • ????
  • ??(bug)
  • ??(defect) ?????
  • ??(variance)
  • ??(error)
  • ??(anomaly) ?????
  • ??(age)
  • ??(problem)
  • ?? (failure)
  • ??(inconsistency)?????
  • ??(incident)
  • ??(fault)

4
???????????
5
????????????
6
1.2 ???????????
7
????????????
8
????????
9
1.3 ?????????
  • ???
  • ?????????????????,??????????????????,?????????????
    ???????
  • ???
  • ?????????????????,??????????????????,?????????????
    ??????????????????

10
????????
  • ALAC??????????????????????????
  • ??????????????????
  • a???????????????????
  • ß??????????????ß?,???????
  • ????????????????????
  • ???????????????????????
  • ???????????????????????
  • ???????????????????

11
1.4 ?????????
  • ???????
  • ?????????????????????
  • ??????????????,???????????????????????
  • ???????,?????????????????,????????,???????????????
    ??,?????????????????
  • ?????????????????,????????????????????

12
  • ??????????????????????A???????,??????B???,????????
    ????????????
  • ?????????,?????????????,??????????????????????
  • ??????????????????,???????????????????????
  • ????????????,????????,???????????????

13
  • ??????
  • ???????????.

???5152535201040
14
  • ???????????.
  • ????????????? .
  • ???????,????????.

15
2 ?????????
  • 2.1 Jmeter??????????
  • Jmeter??
  • ??Web??????
  • 2.2 TThree??????????
  • TThree??
  • ??Web???????

16
2.1 Jmeter??????????
  • Jmeter??
  • ?Apache???????????????
  • 100??java??

17
  • JMeter?????????????????
  • ???Servlets?Perl???java??????????ftp??????????
  • JMeter?????????????????????????????????????
  • ??????????????????????????
  • ????JMeter????????????????????????????/??/??????

18
??????
  • ????
  • Tomcat??Web???
  • ?????????jsp?????servlet
  • jsp????JavaBean??????,servlet?????????javabean????
    ???

19
  • ??????(Test Plan)
  • ??????????????JMeter????????
  • ????????????????????(Thread Groups)?????(Logic
    Controller)????????(Sample Generating
    Controllers)????(Listener)????(Timer)???(Assertion
    s)?????(Config Elements)
  • ??JMeter?,??????????????,??JMeter?????????????????
    ???

20
  • ??JMeter???????(???????),????????????

21
????Http??(??)
22
??Listener
23
????????
??????????????jsp request,????jsp??????????.class?
??
24
  • ??????
  • ???
  • ????
  • ?????
  • ??
  • ???

25
2.2 TThree?????????
  • TThree??
  • ??TTCN(Test and Testing Control Notation)???????
  • ???????????????????????
  • ???????????
  • ????????????????
  • ??????????????
  • ??????????

26
TTCN-3??????
TTCN-3 ???????
27
TTCN-3????
28
????(Test Management)
  • ????Test Control (TC)
  • ??????????,????????,?????????
  • ????Test Logging (TL)
  • ????????
  • ??????External CoDecs (ECD)
  • ???????\???,???????????,?????????TTCN-3????
  • ????Component Handler (CH)
  • ?????????????

29
TTCN-3?? (TE)
  • TTCN-3?? (TE)
  • ???????TTCN-3??????TE?????????????,?????,TTCN-3???
    ?????????
  • ?????Executable Test Suite (ETS)
  • ETS???????,?????????????????????,?????(?)???????,?
    ????????,??????????,??????
  • TTCN-3????(T3RTS)
  • T3RTS??TCI?TRI?TM?SA?PA??,??ETS?EDS?
  • ?????(EDS)
  • ?????????????

30
???????(SA)
  • ???????SUT Adapter (SA)
  • ?????(SA)?????(SUT)????????????
  • ????????????????
  • ?????????????
  • SA?????TE??
  • ????
  • ????/????

31
?????(PA)
  • ?????Platform Adapter (PA)
  • PA????????
  • ??????
  • ??TRI?TE??

32
TTCN??????
  • ????????TCI(TTCN Control Interface)
  • ??????
  • ?????????????????
  • ????????
  • ????????????
  • ?????????TRI(TTCN Runtimes Interface)
  • ??TE?SA?PA??????
  • ???TE????????????
  • ????????????

33
????? TTCN-3
  • ????
  • ??????????????
  • ????????
  • TTCN?????????????
  • TTCN???
  • TTCN????
  • ????
  • ?????,????????????
  • ???
  • TTCN???????

34
  • ??????
  • ??????????????
  • ??????????
  • ??????
  • GSM (ETS 11.10)
  • TETRA(Terrestrial Trunked Radio)
  • WCDMA
  • 3GPP(The 3rd Generation Partnership Project)

35
2.6 TTCN?ASN.1?SDL?????
  • ASN.1(Abstract Syntax Notation One)
  • ????????????
  • ?????(ISO/IEC 8824, ITU-T X.680)
  • SDL( Specification and Description Language)
  • ?????????ITU-T Z.105
  • ?ASN.1??
  • ??????????
  • TTCN?ASN.1?SDL
  • ASN.1?TTCN??????????????
  • SDL??MSC??TTCN?????????????

ASN.1
TTCN
SDL
36
2.7 ???????
SP Service Primitive SAP Service Access
Point PDU Protocol Data Unit
ASP Abstract Service Primitive PCO Point of
Control and Observation PDU Protocol Data
Unit Tester Lower and/or Upper Tester (TTCN
scripts)
37
(No Transcript)
38
  • IUT
  • ??????????????(Implement Under Test??IUT)???OSI???
    ??
  • SUT
  • IUT????????????(System Under Test??SUT)?
  • UT?LT
  • IUT???????(Upper Test)???????(Low Test)???

39
  • PCO
  • ?????(Points of Control and Observation??PCOs),UT?
    LT?????????????????LT????????,??IUT???????PCO,????
    ??????? ?
  • ??????
  • ??????????,??????PCO???????(FIFO),?????,???????

40
  • ASPs
  • IUT?UT??????????(Abstract Service
    Primitives??ASPs)?????
  • PDUs
  • ?????,IUT?LT????????(Protocol Data
    Units??PDUs)????
  • ?????
  • ?????,PDUs ??ASPs ???????????,?PDUs????????,??CTMF
    ????PDUs???????,????????????PDUs????,??ASPs?PDUs?
    ??????

41
  • TCP
  • ??????(Test Coordination Procedures
    ??TCP)???LT?UT???,??LT?UT????????????? ?
  • ??????
  • ?CTMF???????????????????????????
    ??????????LT?UT???????????????????

42
  • ???????
  • -?????????,????
  • -??????????????

Test System
SUT
IUT Implementation Under Test
TTCN Test Suite
Observe Responses
Result
PASS, FAIL or INCONCLUSIVE
43
Master Test Component
IUT
sync
Parallel Test Component
sync
sync
sync
Parallel Test Component
?2.8 ??TTCN
44
3 TTCN??
  • TTCN?3GPP
  • TTCN?Bluetooth
  • TTCN?WAP

45
3.1 TTCN?3GPP
  • TTCN?GSM?????
  • TTCN ATSs??????????
  • ??????????????????GSM??
  • TTCN ATSs??????????????
  • 3GPP
  • TTCN??????????
  • 34.123-1 ????
  • 34.123-2 ????????? (PICS)
  • 34.123-3 TTCN?????
  • TTCN???3GPP???????

46
3.2 TTCN?Bluetooth
  • Bluetooth SIG(Special Interest Group) ??TTCN
  • ?????????
  • ????
  • ??????????
  • ??????
  • ???????

47
3.3 TTCN?WAP
Application Layer(WAE) Application Layer(WAE) Other Service Other Service Other Service Other Service Other Service
Session Layer (WSP) Session Layer (WSP) Session Layer (WSP) and Application and Application and Application and Application
Transaction Layer (WTP) Transaction Layer (WTP) Transaction Layer (WTP) Transaction Layer (WTP)
Security Layer (WTLS) Security Layer (WTLS) Security Layer (WTLS) Security Layer (WTLS) Security Layer (WTLS)
Transport Layer (WDP) Transport Layer (WDP) Transport Layer (WDP) Transport Layer (WDP) Transport Layer (WDP) Transport Layer (WDP)
GSM IS-136 CDMA PHS CDPD iDEN ETC
48
  • ??????????WAE
  • ???WWW?????????????????
  • ???????????(WSP)
  • ?????????????????
  • ???????????(WT)
  • ?????????????
  • ?????????(TLS)
  • ??????????????????????????????
  • ???????????(WDP)?
  • WDP?????????????,?????????????????

49
(No Transcript)
50
L! PassWord L? Login-OK LAB L!N_Buy_amount(count
INC(count)) countltmax START
Timer L?N_Buy_Error -gtLAB ?TIMEOUTtimer CCP!PTC_RE
SULT CPP!PTC_RESULT ?4-1 ?????????????
type record of charstring Payload type record
Request charstring method, Payload payload ?
4-2 ?????PDU???
Payload?for item in Payload item
\n Request?method\npayload ?4-3 ??????/????
51
4 TTCN????
  • Telelogic ????
  • Telelogic Tau??
  • French Restaurant?????
  • Transport protocol?????

52
4.1 Telelogic ????
  • Telelogic ??????????
  • ????????????????????
  • ????Alcatel?Cisco?Ericsson?Fujitsu?Lucent
    Technologies?Motorola?NEC?Nokia?Siemens???????????
    ??
  • ??www.telelogic.com
  • ????????????1?

53
4.2 Telelogic Tau??
54
4.3 French Restaurant?????
55
4.4 Transport protocol?????
Lower Tester
IUT
Upper Tester
N_CONind
N-CONresp
N_DATAind(CR)
T_CONind
N_DATAreq(CC)
T_CONresp
? 2-4 MSC?
56
Questions?
Write a Comment
User Comments (0)
About PowerShow.com