doc-exports/docs/fg/umn/functiongraph_01_0302.html
Chen, Junjie dac566cf2f FG UMN 20230725 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-04-03 10:30:56 +00:00

185 lines
26 KiB
HTML

<a name="functiongraph_01_0302"></a><a name="functiongraph_01_0302"></a>
<h1 class="topictitle1">Online Debugging</h1>
<div id="body32001227"><div class="section" id="functiongraph_01_0302__en-us_topic_0000001252067188_section15962115016507"><h4 class="sectiontitle">Precautions</h4><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1047895265019">Event data is passed to the handler of your function as an input. After configuration, event data is persisted for later use. Each function can have a maximum of 10 test events.</p>
</div>
<div class="section" id="functiongraph_01_0302__en-us_topic_0000001252067188_section2265943114813"><h4 class="sectiontitle">Creating a Test Event</h4><ol id="functiongraph_01_0302__en-us_topic_0000001252067188_ol6980174910717"><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li5143579611223"><span>Log in to the FunctionGraph console, and choose <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b18380134115112">Functions</strong> &gt; <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b73860495111">Function List</strong> in the navigation pane.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li6026898711223"><span>Click the name of the desired function.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li6790202741519"><span>On the function details page, select a version, and click <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b17341111718381">Test</strong>.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li5022895515313"><span>In the <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b84235270685925">Configure Test Event</strong> dialog box, configure the test event information according to <a href="#functiongraph_01_0302__en-us_topic_0000001252067188_table187784018405">Table 1</a>. The parameter marked with an asterisk (*) is mandatory.</span><p>
<div class="tablenoborder"><a name="functiongraph_01_0302__en-us_topic_0000001252067188_table187784018405"></a><a name="en-us_topic_0000001252067188_table187784018405"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0302__en-us_topic_0000001252067188_table187784018405" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Test event information</caption><thead align="left"><tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row3778200154019"><th align="left" class="cellrowborder" valign="top" width="28.000000000000004%" id="mcps1.3.2.2.4.2.1.2.3.1.1"><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p87782008402">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="72%" id="mcps1.3.2.2.4.2.1.2.3.1.2"><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p15786100114015">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row578616044017"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.2.2.4.2.1.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1078618012405">Configure Test Event</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.2.2.4.2.1.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p147869004017">You can choose to create a test event or edit an existing one.</p>
<p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1447113114443">Use the default option <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b8423527069132">Create new test event</strong>.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row2786110174012"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.2.2.4.2.1.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p9786190134013">Event Template</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.2.2.4.2.1.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p9706184319468">If you select <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b1838619477418">blank-template</strong>, you can create a test event from scratch.</p>
<p id="functiongraph_01_0302__en-us_topic_0000001252067188_p97862011404">If you select a template, the corresponding test event in the template is automatically loaded. For details about event templates, see <a href="#functiongraph_01_0302__en-us_topic_0000001252067188_table52979501006">Table 2</a>.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row37861105408"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.2.2.4.2.1.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p13786405402">*Event Name</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.2.2.4.2.1.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p353814189811">The event name can contain 1 to 25 characters and must start with a letter and end with a letter or digit. Only letters, digits, underscores (_), and hyphens (-) are allowed. For example, <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b1818954432117">even-123test.</strong></p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row1773914911554"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.2.2.4.2.1.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p157391497558">Event data</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.2.2.4.2.1.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1354154185610">Enter a test event.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_01_0302__en-us_topic_0000001252067188_table52979501006"></a><a name="en-us_topic_0000001252067188_table52979501006"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0302__en-us_topic_0000001252067188_table52979501006" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Event template description</caption><thead align="left"><tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row32974508015"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.4.2.2.2.3.1.1"><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1129765013016">Template Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.4.2.2.2.3.1.2"><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1629712501006">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row20297165016012"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p182971850406">API Gateway (Dedicated Gateway)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p62973501602">Simulates a dedicated APIG event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row12974504019"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p10298450203">Cloud Trace Service (CTS)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p2029845014017">Simulates a CTS event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row329814501102"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p22987502011">Document Database Service (DDS)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p129875010010">Simulates a DDS event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row9298150108"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1729885013017">Data Ingestion Service (DIS)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p16298750008">Simulates a DIS event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row192989502013"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p62981650603">Log Tank Service (LTS)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p102981150705">Simulates an LTS event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row17918938132915"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1391863816296">Object Storage Service (OBS)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p179187385292">Simulates an OBS event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row89464152915"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1194124112293">Simple Message Notification (SMN)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p49534192917">Simulates an SMN event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row169814457293"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p10981134562912">Timer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1298144519293">Simulates a timer event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row164084435295"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p174081543172914">DMS (for Kafka)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1540815432292">Simulates a Kafka event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row1680723610296"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p15808436182919">Kafka (OPENSOURCEKAFKA)</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1180883617296">Simulates an open-source Kafka event to trigger your function.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row1542910391345"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p15499110194016">Blank Template</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p134301939163411">The event is <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b13648123882019">{"key": "value"}</strong>, which can be changed based on requirements.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row1087684310347"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p188764438341">Login Security Analysis</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p18762043133419">Serves as an input for the <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b68322048162010">loginSecurity-realtime-analysis-python</strong> function template.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row1877324116344"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p57732041113411">Image Classification</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p7773184133412">Serves as an input for the <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b454411102219">image-tag</strong> function template.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row478183513343"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p17883533411">Pornographic Image Analysis</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p57813583415">Serves as an input for the <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b43797253210">porn-image-analysis</strong> function template.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row1560345974010"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p116036598404">Speech Recognition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.4.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p9603659194012">Serves as an input for the <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b1154644842119">voice-analysis</strong> function template.</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li5701435125710"><span>Click <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b84235270694038">Create</strong>.</span></li></ol>
</div>
<div class="section" id="functiongraph_01_0302__en-us_topic_0000001252067188_section1517175012298"><h4 class="sectiontitle">Testing a Function</h4><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p917135015295">After creating a function, you can test it online to check whether it can run properly as expected.</p>
<ol id="functiongraph_01_0302__en-us_topic_0000001252067188_ol1617165042919"><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li126024361609"><span>Return to the FunctionGraph console. In the navigation pane, choose <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b23511171991519">Functions</strong> &gt; <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b49039076091519">Function List</strong>.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li13901131993017"><span>Click the name of the desired function.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li5171850102919"><span>On the displayed function details page, select a version and test event, and click <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b8423527069442">Test</strong>.</span><p><div class="fignone" id="functiongraph_01_0302__en-us_topic_0000001252067188_fig18707491600"><span class="figcap"><b>Figure 1 </b>Selecting a test event</span><br><span><img id="functiongraph_01_0302__en-us_topic_0000001252067188_image68709495019" src="en-us_image_0000001630402136.png"></span></div>
</p></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li31985017296"><span>Click <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b842352706165316">Test</strong>. The function test result is displayed.</span><p><div class="note" id="functiongraph_01_0302__en-us_topic_0000001252067188_note122185013296"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p52115508292">The <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b84235270694616">Log Output</strong> area displays a maximum of 2 KB logs. To view more logs, see <a href="functiongraph_01_1834.html#functiongraph_01_1834">Managing Function Logs</a>.</p>
</div></div>
</p></li></ol>
</div>
<div class="section" id="functiongraph_01_0302__en-us_topic_0000001252067188_section12229500298"><h4 class="sectiontitle">Modifying a Test Event</h4><ol id="functiongraph_01_0302__en-us_topic_0000001252067188_ol1522850122915"><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li72215002918"><span>Return to the FunctionGraph console. In the navigation pane, choose <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b23298539491519">Functions</strong> &gt; <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b179171473891519">Function List</strong>.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li17229508298"><span>Click the name of the desired function.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li1122550122912"><span>On the displayed function details page, select a version and click <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b178618427465">Configure Test Event</strong>. The <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b1885761617387">Configure Test Event</strong> dialog box is displayed.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li52355019290"><span>In the <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b22370229401">Configure Test Event</strong> dialog box, modify the test event information according to <a href="#functiongraph_01_0302__en-us_topic_0000001252067188_table182575018295">Table 3</a>.</span><p>
<div class="tablenoborder"><a name="functiongraph_01_0302__en-us_topic_0000001252067188_table182575018295"></a><a name="en-us_topic_0000001252067188_table182575018295"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0302__en-us_topic_0000001252067188_table182575018295" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Test event information</caption><thead align="left"><tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row425165019291"><th align="left" class="cellrowborder" valign="top" width="28.000000000000004%" id="mcps1.3.4.2.4.2.1.2.3.1.1"><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p22565016297">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="72%" id="mcps1.3.4.2.4.2.1.2.3.1.2"><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1025105013299">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row1725350112914"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.4.2.4.2.1.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1025155012291">Create new test event</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.4.2.4.2.1.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p62525016297">Create a test event.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row72535092911"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.4.2.4.2.1.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p10254503291">Edit saved test event</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.4.2.4.2.1.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p112615062918">Modify an existing test event.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row162695019294"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.4.2.4.2.1.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1326105013299">Event data</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.4.2.4.2.1.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p2261250172919">Modify the test event code.</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li8261150132914"><span>Click <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b842352706143152">Save</strong>.</span></li></ol>
</div>
<div class="section" id="functiongraph_01_0302__en-us_topic_0000001252067188_section192719504291"><h4 class="sectiontitle">Deleting a Test Event</h4><ol id="functiongraph_01_0302__en-us_topic_0000001252067188_ol19278508297"><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li127115032914"><span>Return to the FunctionGraph console. In the navigation pane, choose <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b198808763691519">Functions</strong> &gt; <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b84706027191519">Function List</strong>.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li202717509295"><span>Click the name of the desired function.</span></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li995448519"><span>On the function details page that is displayed, select a version, as shown in <a href="#functiongraph_01_0302__en-us_topic_0000001252067188_fig18682352790">Figure 2</a>.</span><p><div class="fignone" id="functiongraph_01_0302__en-us_topic_0000001252067188_fig18682352790"><a name="functiongraph_01_0302__en-us_topic_0000001252067188_fig18682352790"></a><a name="en-us_topic_0000001252067188_fig18682352790"></a><span class="figcap"><b>Figure 2 </b>Selecting a FunctionGraph version</span><br><span><img id="functiongraph_01_0302__en-us_topic_0000001252067188_image126831521292" src="en-us_image_0000001765546397.png"></span></div>
</p></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li152775092919"><span>On the <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b125011419253">Code</strong> tab page, click <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b1385916303253">Configure Test Event</strong>. The editing page is displayed, as shown in <a href="#functiongraph_01_0302__en-us_topic_0000001252067188_fig1279018461619">Figure 3</a>.</span><p><div class="fignone" id="functiongraph_01_0302__en-us_topic_0000001252067188_fig1279018461619"><a name="functiongraph_01_0302__en-us_topic_0000001252067188_fig1279018461619"></a><a name="en-us_topic_0000001252067188_fig1279018461619"></a><span class="figcap"><b>Figure 3 </b>Selecting Configure Test Event</span><br><span><img id="functiongraph_01_0302__en-us_topic_0000001252067188_image97902410167" src="en-us_image_0000001765392049.png"></span></div>
</p></li><li id="functiongraph_01_0302__en-us_topic_0000001252067188_li02935018291"><span>On the <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b192661507289">Configure Test Event</strong> page, select <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b3791134114291">Edit saved test event</strong>. In the <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b256182010306">Saved Test Events</strong> list on the left, select the event to be deleted and click <strong id="functiongraph_01_0302__en-us_topic_0000001252067188_b1174592873014">Delete</strong>.</span><p><div class="fignone" id="functiongraph_01_0302__en-us_topic_0000001252067188_fig1396159152811"><span class="figcap"><b>Figure 4 </b>Deleting a test event</span><br><span><img id="functiongraph_01_0302__en-us_topic_0000001252067188_image2396109112813" src="en-us_image_0000001717922440.png"></span></div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_01_0302__en-us_topic_0000001252067188_table18291350112916" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Configuring test event information</caption><thead align="left"><tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row72945052910"><th align="left" class="cellrowborder" valign="top" width="28.000000000000004%" id="mcps1.3.5.2.5.2.2.2.3.1.1"><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p12915022918">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="72%" id="mcps1.3.5.2.5.2.2.2.3.1.2"><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p12301850182913">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row430105092910"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.5.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p430145072918">Create new test event</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.2.5.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p14301550182910">Select a test event template.</p>
</td>
</tr>
<tr id="functiongraph_01_0302__en-us_topic_0000001252067188_row1530165013297"><td class="cellrowborder" valign="top" width="28.000000000000004%" headers="mcps1.3.5.2.5.2.2.2.3.1.1 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p530145052911">Edit saved test event</p>
</td>
<td class="cellrowborder" valign="top" width="72%" headers="mcps1.3.5.2.5.2.2.2.3.1.2 "><p id="functiongraph_01_0302__en-us_topic_0000001252067188_p1311150192918">Select the test event you want to delete.</p>
</td>
</tr>
</tbody>
</table>
</div>
</p></li></ol>
</div>
</div>