You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.

The monitorGetRequestSummary Method

Retrieve information about a particular request's events and code tracing. The requestUid identifier is provided in a cookie that is set in the response to the particular request.

 

This API action is designed to be used with the new Zend Studio browser toolbar.

 

Required Permissions: Read-Only

HTTP method: GET

Supported by Editions: Zend Server, Zend Server Cluster Manager

Request Parameters:  

Parameter

 Type

Required

Description

requestUid

	String	

Yes

The request identifier, obtained from response cookie

 

Expected Response Code: 200 OK. For more information see Response Format.

Response Format: Response successful message or error message

Possible Action Specific Error Codes: This action has no specific error codes

 

Usage Example

Example:

 

Request:

GET /ZendServerManager/Api/monitorGetRequestSummary?requestUid=3AFD7433445593C54177E2A6BA60933B

 

Response:

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.1">

<requestData>

<apiKeyName><![CDATA[Admin]]></apiKeyName>

<method>monitorGetRequestSummary</method>

</requestData>

<responseData>

<requestSummary>

<eventsCount>1</eventsCount>

<codeTracing>5.7002.1</codeTracing>

<events>

<event>

<type>PHP Error</type>

<description>.....</description>

<superGlobals>

<get>

<parameter>

<name>all</name>

<value>.....</value>

</parameter>

<parameter>

<name>php_warn</name>

<value>1</value>

</parameter>

.

.

.

</get>

<post></post>

<cookie>

<parameter>

<name>ZDEDebuggerPresent</name>

<value>.....</value>

</parameter>

.

.

</cookie>

<session></session>

<server>

<parameter>

<name>HTTP_USER_AGENT</name>

<value>Wget/1.12 (linux-gnu)</value>

</parameter>

<parameter>

<name>HTTP_ACCEPT</name>

<value>*/*</value>

</parameter>

.

.

.

.

<parameter>

<name>REQUEST_TIME</name>

<value>1315396868</value>

</parameter>

</server>

</superGlobals>

<debugUrl>...</debugUrl>

<severity>normal</severity>

<backtrace>

<step>

<number>0</number>

<object></object>

<class></class>

<function>bt_generator</function>

<file>/var/www/test.php</file>

<line>293</line>

</step>

</backtrace>

</event>

</events>

</requestSummary>

</responseData>

</zendServerAPIResponse>

 

 

 

 

Related Links

Related Links:

Available API Methods

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.