하얀늑대 :: 하얀늑대의 일상
bloghome Tags |  Guestbook | 
  Tags
환생 카운터 애인 자동차 친구 요가 php 쿠키 회사가기시러쏭 애완 엑셀 서버 롱혼 신조어 2003서버 웹브라우져 주민등록번호 체크 인터넷 실명 서비스팩
banner
하얀늑대 ::
하얀늑대의 일상

Google
내블로그에서 검색
 하얀늑대는?
 Category
allow  모두보기 (252)
spacespace Today Story's (10)
spacespace 핫이슈 (19)
spacespace 디카질 (4)
spacespace Javascript (15)
spacespace 2000 server (9)
spacespace 2003 server (3)
spacespace 리눅스 (3)
spacespace UCC (6)
spacespace 컴퓨터 Tip (15)
spacespace IT news (52)
 Tags
paypal 미용 보안서버 주몽 혈액형 사이트관리 롱혼 Stress 고객관리 한잔 블로그 쇼핑몰 쿠키 고양이 php 건강 iframe 바탕화면 속도개선 IBM
  Calendar
<< 2009 July >>
S M T W T F S
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 1
 New Post
line Flex asp 연동
line 웹서버 스트레스 툴 사용법
line vb 또는 asp에서 다른 웹페
line MSXML2.ServerXMLHTTP 에러
line '인포월드'가 전망한 '미래
 New Comment
linesusanna : 08/11/07
replyhey,find <a href=http:
line하얀늑대 : 08/05/22
reply위에 페이지는 한페이지 내
line아아아 : 08/04/26
reply개새끼는너야
line아이니 : 08/02/23
reply《$mode 값이 mailsend 일
linenunbar : 08/02/01
reply제메일로 자세한것좀 보내
 New Tracbacks
lineWeb 1.0 과 Web 2.0
line06/11/18
line괴물 - 2006. 7. 28.
line06/07/29
 New Archive
2009 April (2)
2009 March (1)
2009 January (1)
2008 November (1)
2008 August (1)
...more
  Link Site
올블로그
KOON
태터툴즈
엑스파이더
심프로그
디지털예보
thesimplog.com
feed rss
 Visitor Statistics
Total  :  202308
Today :  37
Yesterday :  55


 Google



blog bar tagsbar guest loginbarlogoutbarX-inbar
line Flex asp 연동
Today Story's | 09/04/13 | 하얀늑대

Flex Builder 2 and Classic ASP 3.0 Example

By a1plusok

Where I’m coming from

Isn’t it interesting how some people get totally caught up in specific technologies and then spend the rest of their lives (or at least a few good years) developing in nothing else than that specific set of “programming languages + IDE + APIs + server architecture + delivery platform”?

If you’ve been around the block a couple of times, and if you’ve been developing software and web applications for some time, you probably know of some people like that. Not that there is anything wrong with that, of course, but it is interesting how scary (or exciting) the world looks outside of that comfort zone.

Not that I consider myself a pigeon-holed designer & developer, but I started working with Flex Builder 2 this summer, and I must admit that it was a little scary at first. New concepts (for me), new programming syntax . . . but an awesomely exciting end result. Well, if you’re here because you want to figure out how to make Flex Builder 2 work with Classic ASP 3.0, then I don’t have to tell you anymore about the cool-ness factor of Flex applications.

Let’s get on with the show

For the purpose of this very basic and very simple example, you need to have Flex Builder installed on your computer. You should be at least somewhat familiar with programming concepts and with XML.

And, of course, you will have access to a web server running IIS and a database (SQL Server, for example) to which you can already connect using ASP and ADODB. So, it’s almost a given that you need to be able to write SQL queries.

1. Set up a Flex project. This step is fairly rudimentary and has been covered in detail elsewhere, so I won’t repeat how to set up a Flex project. (Check the Flex Help if you really don’t have a clue.)

2. For extra points, use something other than the default location, and create a new directory on your web server. Call it what you want, but the shorter the name the easier to type in the URL later.

3. When you’re in a front of the Source view of your MXML file, enter the following:

<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” xmlns=”*”
layout=”absolute” creationComplete=”userRequest.send()”>

<mx:HTTPService
id=”userRequest”
url=”http://www.myurl.com/flex/request.asp”
useProxy=”false”
method=”POST”>
<mx:request xmlns=”">
<username>{username.text}
</username></mx:request>
</mx:HTTPService>

<mx:Form x=”22″ y=”10″ width=”493″>
<mx:HBox><mx:Label text=”Username”/><mx:TextInput id=”username”/></mx:HBox>
<mx:Button label=”Submit” click=”userRequest.send()”/>
</mx:Form>

<mx:DataGrid id=”dgUserRequest” x=”22″ y=”140″
dataProvider=”{userRequest.lastResult.users.user}”
width=”493″ height=”125″>
<mx:columns>
<mx:DataGridColumn headerText=”User ID” dataField=”userid”/>
<mx:DataGridColumn headerText=”User Name” dataField=”username”/>
<mx:DataGridColumn headerText=”E-Mail” dataField=”emailaddress”/>
</mx:columns>
</mx:DataGrid>

<mx:TextInput x=”355″ y=”273″ id=”selectedemailaddress”
text=”{dgUserRequest.selectedItem.emailaddress}”/>

</mx:Application>
(Feel free to copy and paste all of this from here into your Source view.)

4. Modify the following: “http://www.myurl.com/flex/request.asp”

Obviously, you want to point to your URL (whether that’s on a live server or on your development box) and to the corresponding directory which contains the ASP file that will provide the bulk of the information to you.

At this point, you have the basic Flex application ready. However, don’t try to run it yet, since we haven’t prepared the ASP file yet.

5. Create an ASP file and place it in the directory that you specified in step 4:

<%@ LANGUAGE=”VBSCRIPT” %>
<%
REM Prevent page caching
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = “no-cache”
Set Conn = Server.CreateObject(”ADODB.Connection”)
Conn.ConnectionTimeout = 15
Conn.CommandTimeout = 30
Conn_Catalog = “MyDatabase”
Conn_UserID = “web_user”
Conn_Password = “whatever1t15″
Conn_DataSource = “555.55.555.55″

conn.Open “Provider=sqloledb; Data Source=” & Conn_DataSource & “; Initial Catalog=” & Conn_Catalog & “; User Id=” & Conn_UserID & “; Password=” & Conn_Password

If Request.Form(”username”) <> “” Then
dim accessSql
accessSql = “SELECT TOP 55 UserID, UserName, Email FROM Users WITH (NOLOCK) WHERE (Email IS NOT NULL) AND (Email <> ”) AND (Email LIKE ‘%.com’) AND Username LIKE ‘%” & Request.Form(”username”) & “%’ ORDER BY UserID”
Set Comm = Server.CreateObject(”ADODB.Command”)
Comm.ActiveConnection = Conn
Comm.CommandTimeout = 600
Comm.CommandText = accessSql
Comm.CommandType = 1
Set accessSqlRS = Comm.Execute

dim mxmlStr, mxmLoop
mxmlStr = “”

‘PUT THE QUERY RESULTS INTO AN ARRAY
If Not accessSqlRS.EOF AND NOT accessSqlRS.BOF Then
accessSqlArray = accessSqlRS.GetRows()
accessSqlRS.Close
End If

‘LOOP THROUGH THE ARRAY AND FORM THE XML STRING
If IsArray(accessSqlArray) Then
mxmlStr = “<users>”

For mxmLoop = 0 to UBound(accessSqlArray, 2)
mxmlStr = mxmlStr & “<user><userid>” & accessSqlArray(0,mxmLoop) & “</userid><username>” & accessSqlArray(1,mxmLoop) & “</username><emailaddress>” & accessSqlArray(2,mxmLoop) & “</emailaddress></user>” & vbcrlf
Next

mxmlStr = mxmlStr & “</users>”
End If

If delUserSql <> “” Then
delUserSql = NULL
End If

If IsArray(accessSqlArray) Then
Erase accessSqlArray
Set accessSqlArray = Nothing
End If

‘POST THE XML STRING
Response.Write(mxmlStr)
End If

%>
(Feel free to copy and paste all of this from here into your ASP page.)

6. You need to modify the database connection string and the SQL query. Obviously, my example database and its tables might not work for you. Feel free to adjust your query so that it points to the correct database (by SQL Server IP and database name) and to the correct fields in teh correct table.

After you have built the Flex project, you can try and run it. If you already have all of your Flex files on the web server,and if the file reference from Flex to the ASP page is in place, everything should work.

Ideally, you place all the required files on your web server and access the Flex app by entering its URL (probably pointing to the bin directory).

What does it do?

If everything works, the Flex app won’t do anything at first. That’s how it’s supposed to work. In my case (using my database), I enter user name or the first few letters of a user name into the text input field, click Submit and then retrieve a number of user records that fulfill the LIKE requirement.

With the grid control filled in, I can now click on any record row and display the e-mail address in a separate input field underneath.

Not bad for a basic proof-of-concept, eh? (And if you have something much, much cooler than this, using either ASP or SQL Server, please let me know about it.)

Possible Errors

If you get any weird errors, try to Google them, but the most common issues are:

a) Some kind of #1096 error in the Flex app. This has to do with read-only attributes on some of the files in your Flex project directory. The easiest work-around is to disable the History option for the HTML wrapper (Properties -> Flex Compiler).

b) No data, nothing happens when you click the button or some weird-looking error box when the Flex app is done loading. This is the result of referencing the ASP file incorrectly. As far as I can tell, you need an absolute URL for the mx:HTTPService to work. And you might want to double-check and make sure that the location to which you are pointing actually contains the ASP file.

Next Steps

As mentioned throughout this brief and very simple tutorial, all of this is very rudimentary indeed. But you’ve got to start somewhere, right?

If you’re looking for an enterprise-strength solution, you should probably write a web service (using ASP.NET and C#, for example) and include some security measures to protect your data.

In this example, it is presumed that you handle user authentication before the Flex app gets accessed. If you’re dealing with sensitive data, make sure you do not allow unauthorized access to the ASP file that gets accessed by the Flex app. (In no way will I be held responsible for any deployed or publicly accessible solution that has been built as a result of this proof-of-concept tutorial and through which sensitive or otherwise protected data have been compromised.)

Call for Examples

As you probably know by now, the web is full of Flex Builder examples written for ColdFusion, PHP and Java developers. As a matter of fact, the basis for this tutorial was a PHP tutorial from Adobe Labs. However, there are astonishingly few (if any) hints as to how to use Flex Builder with Classic ASP 3.0.

There has been quite a bit of talk about a Flex solution for ASP.NET, but that doesn’t always fit the need. So, I would hope that this proof-of-concept tutorial helps someone else out there accomplish great and wonderful things.

On the other hand, if you have any “Flex with ASP” examples or functional code snippets, please let me know. I’d love to learn from you.

PS: I apologize for the “funky formatting” of the code snippets in this post. The basic WordPress account doesn’t give you much wiggle room in terms of CSS formatting. Feel free to take out extra spaces and extraneous line breaks to format the code to your liking.


태그: Flex
bullet관련글0 | 댓글0
line 웹서버 스트레스 툴 사용법 (Web Application Stress Tool)
2003 server | 09/04/13 | 하얀늑대
이 문서에서는 Microsoft WAS(Web Application Stress) 도구를 설치하는 방법과 WAS를 사용하여 웹 프로그램을 테스트하기 위한 스크립트를 만들고 실행하는 방법을 단계별로 설명합니다.

WAS 도구는 Microsoft Internet Information Services(IIS) 5.0 웹 서버를 시뮬레이트된 로드에 두는 데 사용할 수 있는 시뮬레이션 도구입니다. 이 도구는 여러 브라우저가 웹 사이트에서 페이지를 요청하는 환경을 현실적으로 재현하도록 설계되었습니다. WAS를 사용하여 웹 프로그램에 대한 성능 데이터를 수집하고 웹 서버의 성능과 안정성을 평가하십시오. WAS는 스크립트를 사용하여 상대적으로 적은 수의 클라이언트를 사용함으로써 많은 수의 요청을 시뮬레이트합니다. 따라서 가능한 생산 환경에 가까운 시나리오를 만듭니다. 웹 프로그램이 스트레스 하에서 어떻게 응답하며 배포하기 전에 프로그램의 문제를 어떻게 식별하고 제거하는지 이해하기 위해 수집하는 데이터를 분석할 수 있습니다.

웹 응용 프로그램 스트레스 도구를 설치하는 방법

참고: 클라이언트 컴퓨터에서 다음 절차를 수행해야 합니다. WAS는 Microsoft Windows NT 4.0 서비스 팩 4(SP 4) 이상과 Microsoft Windows 2000에서 지원됩니다. 테스트 중인 웹 서버에는 WAS를 설치하지 마십시오. 설치할 경우 WAS 설치가 웹 서버 성능에 영향을 미칠 수 있으며 테스트 결과에 방해가 될 수 있습니다.
  1. 관리자 또는 Administrators 그룹의 구성원으로 컴퓨터에 로그온합니다.
  2. WAS를 다운로드합니다. 브라우저를 시작하고 다음 Microsoft 웹 사이트로 이동하여 WAS를 다운로드할 수 있습니다.
    http://www.microsoft.com/downloads/details.aspx?FamilyID=e2c0585a-062a-439e-a67d-75a89aa36495&DisplayLang=en (http://www.microsoft.com/downloads/details.aspx?FamilyID=e2c0585a-062a-439e-a67d-75a89aa36495&DisplayLang=en)
    Microsoft 지원 파일을 다운로드하는 방법은 Microsoft 기술 자료의 다음 문서를 참조하십시오.
    119591  (http://support.microsoft.com/kb/119591/ ) 온라인 서비스로부터 Microsoft 지원 파일을 구하는 방법
  3. 웹 페이지의 오른쪽 창에서 Download를 누릅니다.
  4. 저장을 누릅니다.
  5. Setup.exe 파일을 저장할 위치를 지정한 다음 저장을 누릅니다.
  6. 테스트를 수행할 각 클라이언트 컴퓨터에 Setup.exe 파일을 복사합니다.
  7. 각 클라이언트 컴퓨터에서 Microsoft Windows 탐색기를 시작한 다음 5단계에서 저장한 Setup.exe 파일을 두 번 누릅니다.
  8. Yes를 눌러 사용 계약에 동의하여 기본 설치 위치를 적용하거나 WAS를 설치할 위치를 지정한 후 Next를 누릅니다.
  9. OK를 누른 다음 Finish를 누릅니다.

테스트 스크립트를 만드는 방법

웹 프로그램을 테스트할 스크립트를 만들려면 다음 방법 중 하나를 사용하십시오.

스크립트를 수동으로 만드는 방법

스크립트를 수동으로 만들려면 다음과 같이 하십시오.
  1. 시작을 누르고 프로그램, Microsoft Web Application Stress Tool을 차례로 가리킨 다음 Microsoft Web Application Stress Tool을 누릅니다.
  2. Scripts 메뉴에서 Create를 가리킨 다음 Manual을 누릅니다.

    스크립트가 왼쪽 창에 "New Script"로 표시됩니다. 새 스크립트 이름을 변경하려면 New Script를 누른 다음 스크립트의 새 이름을 입력합니다.
  3. 오른쪽 창의 Server 상자에 웹 서버의 이름, FQDN(정식 도메인 이름) 또는 IP(인터넷 프로토콜) 주소를 입력합니다.
  4. Notes 상자에 설명을 입력합니다.
  5. Verb 아래에서 첫 번째 셀의 아래 화살표를 누른 다음 사용할 HTTP(Hypertext Transfer Protocol) 동사(예: GET)를 누르거나 셀에 사용할 동사를 입력합니다.
  6. Path 아래에 웹 페이지의 이름과 경로(예: /scripts/test.asp)를 입력합니다.

    참고: 서버 이름은 포함하지 마십시오.
  7. 페이지 그룹을 사용하려는 경우 Group 아래를 적절히 변경합니다.
  8. 스크립트 항목 사이에 대기 시간을 지정하려면 Delay 아래에 지연 값(밀리초 단위)을 입력합니다. 기본값은 0입니다.
  9. 스크립트에 항목을 추가하려면 5단계부터 8단계까지 반복합니다.

브라우저 활동을 기록하여 스크립트를 만드는 방법

브라우저 활동을 기록하여 스크립트를 만들려면 이 절에서 설명하는 절차를 사용하십시오.

참고: 프록시 서버를 사용 중인 경우 사용자 계정에 먼저 로그온하도록 Microsoft WebTool 서비스를 구성해야 합니다. 프록시 서버를 사용하지 않는 경우 본 문서의 2단계: 브라우저 활동 기록 절로 바로 이동하십시오.

Microsoft WebTool 서비스를 구성하는 방법

프록시 서버를 사용 중인 경우 사용자 계정에 로그온하도록 Microsoft WebTool 서비스를 구성하십시오. 구성하려면 다음과 같이 하십시오.
  1. 시작을 누르고 설정을 가리킨 다음 제어판을 누릅니다.
  2. 관리 도구를 두 번 누른 다음 서비스를 두 번 누릅니다.
  3. WebTool을 두 번 누른 다음 로그온 탭을 누릅니다.
  4. 다음 계정으로 로그온에서 계정 지정을 누른 다음 아래의 형식을 사용하여 사용자 이름을 입력합니다.
    \DomainUserName
  5. 해당 상자에 암호를 입력하고 확인한 다음 확인을 누릅니다.
  6. WebTool을 마우스 오른쪽 단추로 누른 다음 중지를 누릅니다.
  7. WebTool을 마우스 오른쪽 단추로 누른 다음 시작을 누릅니다.
  8. 서비스 대화 상자를 닫은 다음 관리 도구 대화 상자를 닫습니다.


브라우저 활동을 기록하는 방법

  1. Microsoft Internet Explorer를 시작합니다.
  2. 도구 메뉴에서 인터넷 옵션을 누른 다음 일반 탭을 누릅니다.
  3. 임시 인터넷 파일에서 파일 삭제를 누릅니다.
  4. 연결 탭을 누릅니다.
  5. 전화 걸기 설정 상자에서 전화 접속 네트워킹 연결을 누른 다음 설정을 누릅니다.
  6. 자동 구성에서 설정 자동 검색 확인란이 선택되어 있으면 선택을 취소합니다.
  7. 프록시 서버에서 프록시 서버 사용 확인란을 선택하고 주소 상자에 localhost를 입력한 다음 포트 상자에 8000을 입력합니다.
  8. 로컬 주소에 프록시 서버 사용 안함 확인란이 선택되어 있으면 선택을 취소합니다.
  9. 확인을 두 번 누른 다음 Internet Explorer를 종료합니다.
  10. 시작을 누르고 프로그램, Microsoft Web Application Stress Tool을 차례로 가리킨 다음 Microsoft Web Application Stress Tool을 누릅니다.
  11. Scripts 메뉴에서 Create를 가리킨 다음 Record를 누릅니다.
  12. 기록할 설정 옆의 확인란을 선택하고 Next를 누른 다음 Finish를 누릅니다.
  13. Internet Explorer를 시작한 후에 주소 표시줄에 테스트할 웹 사이트의 URL(Uniform Resource Locator)을 입력한 다음 Enter 키를 누릅니다.
  14. 테스트할 웹 사이트의 페이지를 탐색합니다.

    탐색하는 페이지의 경로가 WAS 기록 창에 표시됩니다.
  15. 작업을 마쳤으면 Stop Recording을 누릅니다.

    스크립트가 왼쪽 창에 "New Recorded Script"로 표시됩니다. 새 스크립트 이름을 변경하려면 New Recorded Script를 누른 다음 스크립트의 새 이름을 입력합니다.

IIS 로그에서 스크립트를 만드는 방법

IIS 로그에서 스크립트를 만들려면 다음과 같이 하십시오.
  1. 시작을 누르고 프로그램, Microsoft Web Application Stress Tool을 차례로 가리킨 다음 Microsoft Web Application Stress Tool을 누릅니다.
  2. Scripts 메뉴에서 Create를 가리킨 다음 Log를 누릅니다.
  3. Log file 상자에서 Browse를 눌러 스크립트를 만드는 데 사용할 IIS 로그를 찾고 Open을 누른 다음 Next를 누릅니다.
  4. 로그 파일을 구문 분석할 옵션을 누른 다음 Finish를 누릅니다.

    스크립트는 왼쪽 창에 "LogFile.log"로 표시됩니다. 여기서 LogFile.log는 IIS 로그 파일의 이름입니다. 새 스크립트 이름을 변경하려면 LogFile.log를 누른 다음 스크립트의 새 이름을 입력합니다.

웹 사이트 콘텐츠에서 스크립트를 만드는 방법

웹 사이트에 있는 파일에서 스크립트를 만들려면 다음 단계를 수행하십시오.
  1. 시작을 누르고 프로그램, Microsoft Web Application Stress Tool을 차례로 가리킨 다음 Microsoft Web Application Stress Tool을 누릅니다.
  2. Scripts 메뉴에서 Create를 가리킨 다음 Contents를 누릅니다.

    스크립트가 왼쪽 창에 "New Script"로 표시됩니다. 새 스크립트 이름을 변경하려면 New Script를 누른 다음 스크립트의 새 이름을 입력합니다.
  3. 트리가 아직 확장되지 않은 경우 스크립트 옆의 더하기 기호(+)를 눌러 트리를 확장합니다.

    스크립트 항목이 스크립트 트리에 표시됩니다.
  4. Content Tree를 누릅니다.
  5. 오른쪽 창의 Content location 상자에 콘텐츠 폴더 경로를 입력하거나 Browse를 눌러 폴더를 찾은 다음 OK를 누릅니다.
  6. 필요할 경우 Virtual root 상자에 가상 루트 자리 표시자를 입력합니다.
  7. Apply를 누릅니다.

    WAS는 웹 콘텐츠에 기반하여 콘텐츠 트리를 만듭니다. 테스트에 포함할 파일 옆의 확인란을 선택합니다.

스크립트를 구성하는 방법

스크립트 설정을 구성하려면 다음과 같이 하십시오.
  1. 시작을 누르고 프로그램, Microsoft Web Application Stress Tool을 차례로 가리킨 다음 Microsoft Web Application Stress Tool을 누릅니다.
  2. 트리가 아직 확장되지 않은 경우 왼쪽 창에서 ScriptName( ScriptName은 스크립트의 이름)을 두 번 눌러 트리를 확장합니다.

    스크립트 항목이 오른쪽 창에 표시됩니다.
  3. 구성할 스크립트 항목(Verb 열 왼쪽에 있는 검정색 단추)의 행 머리글을 두 번 누릅니다.

    이렇게 하면 스크립트 Details 보기가 열립니다. 이 보기를 사용하여 쿼리 문자열 이름-값 쌍을 편집하거나 게시 데이터를 사용자 지정하거나 HTTP 헤더를 수정하거나 SSL(Secure Sockets Layer) 암호화를 설정하거나 스크립트를 RDS(Remote Data Service) 쿼리로 서식 지정할 수 있습니다.
  4. 적절한 탭을 눌러 원하는 설정을 지정한 다음 OK를 누릅니다.
  5. 왼쪽 창에서 Settings를 누릅니다.

    Settings 대화 상자에 표시된 스크립트 옵션에 대한 설정을 지정합니다. 예를 들어, 스트레스 수준 값을 수정하거나 테스트 실행 시간을 설정하거나 대역폭 조절을 설정할 수 있습니다.
  6. 스크립트에 성능 모니터 카운터를 추가하려면 Perf Counters를 누르고 오른쪽 창에서 Add Counter를 누르고 추가할 개체와 카운터를 누르고 Add를 누른 다음 OK를 누릅니다.
  7. 해당 스크립트에 정의된 페이지 그룹 목록을 보거나 페이지 그룹 분배를 변경하려면 Page Groups를 누릅니다.
  8. 기본 사용자에 사용자를 추가하고 제거하거나 새로운 사용자를 만들려면 Users를 누르고 오른쪽 창에서 Default를 두 번 누르고 다음 단계 중 하나를 수행하십시오.
    • 새 사용자를 추가하려면 해당 상자에 다음 정보를 입력한 다음 Create를 누릅니다.
      • 만들려는 사용자 수
      • 사용자 이름 접두사
      • 암호
    • 새 사용자를 추가하려면 왼쪽 창에서 Default를 마우스 오른쪽 단추로 누른 다음 Add를 누릅니다.

      새 사용자가 왼쪽 창에 "New Population"으로 표시됩니다. 새 사용자 이름을 변경하려면 New Population을 누른 다음 새 이름을 입력합니다.
  9. View 메뉴에서 Scripts를 눌러 Scripts 보기로 돌아갑니다.
  10. 현재 그룹에 클라이언트 컴퓨터를 추가 또는 제거하거나 클라이언트 컴퓨터의 새 그룹을 추가하려면 Clients를 누른 다음 오른쪽 창에서 Default를 누릅니다.
    • 클라이언트 컴퓨터를 추가하려면 Machine name 상자에 컴퓨터 이름(또는 IP 주소)을 입력한 다음 Add를 누릅니다.
    • 새 그룹을 추가하려면 왼쪽 창에서 Default를 마우스 오른쪽 단추로 누른 다음 Add를 누릅니다. 새 그룹이 왼쪽 창에 "New Group"으로 표시됩니다. 새 그룹 이름을 변경하려면 New Group을 누른 다음 새 이름을 입력합니다.
  11. View 메뉴에서 Scripts를 눌러 Scripts 보기로 돌아갑니다.
  12. 각 사용자와 함께 저장된 쿠키를 보려면 Cookies를 누릅니다.

웹 프로그램을 테스트하는 방법

스크립트를 사용하여 테스트를 실행하려면 다음과 같이 하십시오.
  1. 시작을 누르고 프로그램, Microsoft Web Application Stress Tool을 차례로 가리킨 다음 Microsoft Web Application Stress Tool을 누릅니다.
  2. 왼쪽 창에서 사용할 스크립트를 누른 다음 Scripts 메뉴에서 Run을 누릅니다.

테스트 보고서를 보는 방법

테스트 보고서를 보려면 다음과 같이 하십시오.
  1. 시작을 누르고 프로그램, Microsoft Web Application Stress Tool을 차례로 가리킨 다음 Microsoft Web Application Stress Tool을 누릅니다.
  2. View 메뉴에서 Reports를 누릅니다.

    수행하는 각 테스트의 보고서는 왼쪽 창의 관련 스크립트 아래 표시됩니다. 보고서 제목은 테스트를 시작한 날짜와 시간입니다.
  3. 트리를 아직 확장하지 않았으면 보고서를 두 번 눌러 트리를 확장합니다.
  4. 보고서 트리에서 추가 정보를 보려는 항목(예: Page Summary)을 누릅니다.

    해당 항목에 대한 세부 정보가 오른쪽 창에 표시됩니다.

문제 해결

  • WAS를 시작할 수 없습니다.

    이 문제는 WebTool 서비스가 실행되고 있지 않을 경우 발생할 수 있습니다. 이 문제를 해결하려면 WebTool 서비스가 실행 중인지 확인하십시오. 확인하려면 다음과 같이 하십시오.
    1. 시작을 누르고 프로그램, 보조프로그램을 차례로 가리킨 다음 명령 프롬프트를 누릅니다.
    2. 명령 프롬프트에서 net start webtool을 입력한 다음 Enter 키를 누릅니다.
    3. 현재 실행 중인 서비스 목록을 표시하려면 net start를 입력한 다음 Enter 키를 누릅니다.

      목록에 WebTool이 표시되는지 확인합니다.
  • 클라이언트 컴퓨터를 추가하거나 클라이언트 컴퓨터에 연결할 수 없습니다.

    다음 경우 중 하나에 해당하면 이러한 현상이 발생할 수 있습니다.
    • 클라이언트 컴퓨터가 Windows NT 4.0 기반 또는 Windows 2000 기반 컴퓨터가 아닙니다. 이 문제를 해결하려면 Windows NT 기반 또는 Windows 2000 기반 컴퓨터에 WAS를 설치하십시오.

      또는
    • WAS가 클라이언트 컴퓨터에 설치되지 않았습니다. 이 문제를 해결하려면 연결할 클라이언트 컴퓨터에 WAS를 설치하십시오.

      또는
    • WAS가 설치된 클라이언트 컴퓨터에서 WebTool 서비스가 실행되고 있지 않습니다. 이 문제를 해결하려면 연결할 클라이언트 컴퓨터에서 WebTool 서비스를 시작하십시오.

      또는
    • 연결할 클라이언트 컴퓨터에서 로컬 관리자 그룹의 구성원이 아닙니다. 이 문제를 해결하려면 연결할 각 클라이언트 컴퓨터에서 로컬 관리자 그룹의 구성원인 사용자 계정을 사용하여 로그온하십시오.
WAS 문제 해결 방법에 대한 자세한 내용은 WAS 도움말의 "Troubleshooting" 절을 참조하십시오. Help 메뉴에서 Web Application Stress Help를 누르고 Contents 탭을 누른 다음 Troubleshooting을 두 번 누릅니다.

태그: Stress
bullet관련글0 | 댓글0
이전/ [1] 2 3 4 5 6 7 8 9 10 / 다음 top