Generated by TestNG with ReportNG at 06:21 PDT on Tuesday 12 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.440s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.081s
2022-07-12 06:35:39 |

2022-07-12 06:35:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:39 | ------------------------------------

2022-07-12 06:35:39 | [Mutex] waiting for: [configured:node:node-1a2583e9-cff8-4334-a877-4722335e6990:node-a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0]

2022-07-12 06:35:39 | [Mutex] received everything.

2022-07-12 06:35:39 | [Mutex] isItemNotified: configured:node:node-1a2583e9-cff8-4334-a877-4722335e6990:node-a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0 :: true

2022-07-12 06:35:40 | [Mutex] waiting for: [received:nodes:975a7573-9450-45e7-9489-c054a5b3bd3b:localhost]

2022-07-12 06:35:40 | [Mutex] received everything.

2022-07-12 06:35:40 | [Mutex] isItemNotified: received:node:975a7573-9450-45e7-9489-c054a5b3bd3b:localhost:node-1a2583e9-cff8-4334-a877-4722335e6990:Node 1a2583e9-cff8-4334-a877-4722335e6990 :: true

2022-07-12 06:35:40 | [Mutex] waiting for: [received:nodes:83addc8b-f2cc-4f60-8e53-65a9da3c826f:localhost]

2022-07-12 06:35:40 | [Mutex] received everything.

2022-07-12 06:35:40 | [Mutex] isItemNotified: received:node:83addc8b-f2cc-4f60-8e53-65a9da3c826f:localhost:node-1a2583e9-cff8-4334-a877-4722335e6990:Node 1a2583e9-cff8-4334-a877-4722335e6990 :: false

createNodes 1.479s
2022-07-12 06:35:36 |

2022-07-12 06:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:36 | ------------------------------------

2022-07-12 06:35:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1a2583e9-cff8-4334-a877-4722335e6990</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1a2583e9-cff8-4334-a877-4722335e6990</title></pubsub></data>

2022-07-12 06:35:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-12 06:35:38 | [Mutex] waiting for: [received:nodes:e6e2e2b5-3ddb-4b96-8120-6ecc01b6a1f9:localhost]

2022-07-12 06:35:38 | [Mutex] waiting for: [received:nodes:e6e2e2b5-3ddb-4b96-8120-6ecc01b6a1f9:localhost]

2022-07-12 06:35:38 | [Mutex] received everything.

2022-07-12 06:35:38 | [Mutex] isItemNotified: received:node:e6e2e2b5-3ddb-4b96-8120-6ecc01b6a1f9:localhost:node-1a2583e9-cff8-4334-a877-4722335e6990:Node 1a2583e9-cff8-4334-a877-4722335e6990 :: true

createSubnodes 1.026s
2022-07-12 06:35:38 |

2022-07-12 06:35:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:38 | ------------------------------------

2022-07-12 06:35:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0</title></pubsub></data>

2022-07-12 06:35:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-12 06:35:39 | [Mutex] waiting for: [received:nodes:6af0ff26-0b2c-49d7-b8e4-e338bb0dd10d:localhost]

2022-07-12 06:35:39 | [Mutex] received everything.

2022-07-12 06:35:39 | [Mutex] isItemNotified: received:node:6af0ff26-0b2c-49d7-b8e4-e338bb0dd10d:localhost:node-a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0:Node a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0 :: true

deleteNodes 1.017s
2022-07-12 06:35:44 |

2022-07-12 06:35:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:44 | ------------------------------------

2022-07-12 06:35:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0</node></data>

2022-07-12 06:35:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-12 06:35:45 | [Mutex] waiting for: [received:nodes:7a51d62c-bbd8-4968-ae35-0751d2258510:localhost]

2022-07-12 06:35:45 | [Mutex] waiting for: [received:nodes:7a51d62c-bbd8-4968-ae35-0751d2258510:localhost]

2022-07-12 06:35:45 | [Mutex] received everything.

2022-07-12 06:35:45 | [Mutex] isItemNotified: received:node:7a51d62c-bbd8-4968-ae35-0751d2258510:localhost:node-a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0:Node a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0 :: false

deleteSubnodes 1.129s
2022-07-12 06:35:43 |

2022-07-12 06:35:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:43 | ------------------------------------

2022-07-12 06:35:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1a2583e9-cff8-4334-a877-4722335e6990</node></data>

2022-07-12 06:35:43 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-12 06:35:44 | [Mutex] waiting for: [received:nodes:a4da2715-9a7c-43fc-915a-9f3a3ded12f4:localhost]

2022-07-12 06:35:44 | [Mutex] waiting for: [received:nodes:a4da2715-9a7c-43fc-915a-9f3a3ded12f4:localhost]

2022-07-12 06:35:44 | [Mutex] waiting for: [received:nodes:a4da2715-9a7c-43fc-915a-9f3a3ded12f4:localhost]

2022-07-12 06:35:44 | [Mutex] waiting for: [received:nodes:a4da2715-9a7c-43fc-915a-9f3a3ded12f4:localhost]

2022-07-12 06:35:44 | [Mutex] received everything.

2022-07-12 06:35:44 | [Mutex] isItemNotified: received:node:a4da2715-9a7c-43fc-915a-9f3a3ded12f4:localhost:node-1a2583e9-cff8-4334-a877-4722335e6990:Node 1a2583e9-cff8-4334-a877-4722335e6990 :: false

2022-07-12 06:35:44 | [Mutex] waiting for: [received:nodes:a0274afd-7763-4ff2-b183-9581ca543ead:localhost]

2022-07-12 06:35:44 | [Mutex] received everything.

2022-07-12 06:35:44 | [Mutex] isItemNotified: received:node:a0274afd-7763-4ff2-b183-9581ca543ead:localhost:node-1a2583e9-cff8-4334-a877-4722335e6990:Node 1a2583e9-cff8-4334-a877-4722335e6990 :: false

publishItemsToNodes 0.196s
2022-07-12 06:35:41 |

2022-07-12 06:35:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:41 | ------------------------------------

2022-07-12 06:35:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1a2583e9-cff8-4334-a877-4722335e6990</node><item-id>item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea</item-id><entry><test>item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea</test></entry></data>

2022-07-12 06:35:41 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea</value></item-id></result>

2022-07-12 06:35:41 | [Mutex] waiting for: [published:item:notifieditem-1a29cfec-5b3b-4db1-9bfa-7390b85715ea:admin@test-domain.com]

2022-07-12 06:35:41 | [Mutex] received everything.

2022-07-12 06:35:41 | [Mutex] isItemNotified: published:item:notifieditem-1a29cfec-5b3b-4db1-9bfa-7390b85715ea:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2022-07-12 06:35:42 |

2022-07-12 06:35:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:42 | ------------------------------------

2022-07-12 06:35:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1a2583e9-cff8-4334-a877-4722335e6990</node><item-id>item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea</item-id></data>

2022-07-12 06:35:42 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea</value></item-id></result>

2022-07-12 06:35:42 | [Mutex] waiting for: [retracted:item:notifieditem-1a29cfec-5b3b-4db1-9bfa-7390b85715ea:admin@test-domain.com]

2022-07-12 06:35:42 | [Mutex] received everything.

2022-07-12 06:35:42 | [Mutex] isItemNotified: retracted:item:notifieditem-1a29cfec-5b3b-4db1-9bfa-7390b85715ea:admin@test-domain.com :: true

retrieveItemsFromNodes 0.241s
2022-07-12 06:35:41 |

2022-07-12 06:35:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:41 | ------------------------------------

2022-07-12 06:35:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1a2583e9-cff8-4334-a877-4722335e6990</node><item-id>item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea</item-id></data>

2022-07-12 06:35:42 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-1a2583e9-cff8-4334-a877-4722335e6990</value></node><item-id type="text-single" label="Item ID"><value>item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea</value></item-id><item type="text-multi" label="Item"><value><item id="item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea"><test>item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea</test></item></value></item></result>

2022-07-12 06:35:42 | [Mutex] notify: [retrieved:item:item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea:payload-matches:true:localhost]

2022-07-12 06:35:42 | [Mutex] received everything.

2022-07-12 06:35:42 | [Mutex] isItemNotified: retrieved:item:item-1a29cfec-5b3b-4db1-9bfa-7390b85715ea:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-07-12 06:35:42 |

2022-07-12 06:35:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:42 | ------------------------------------

2022-07-12 06:35:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-12 06:35:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-a01e9df1-e4df-4e5f-bdc6-d7e3eb45f9b0</value><value>node-1a2583e9-cff8-4334-a877-4722335e6990</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-12 06:35:42 |

2022-07-12 06:35:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:42 | ------------------------------------

2022-07-12 06:35:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1a2583e9-cff8-4334-a877-4722335e6990)</node-pattern></data>

2022-07-12 06:35:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.155s
2022-07-12 06:35:40 |

2022-07-12 06:35:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:40 | ------------------------------------

2022-07-12 06:35:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1a2583e9-cff8-4334-a877-4722335e6990</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-12 06:35:40 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2022-07-12 06:35:42 |

2022-07-12 06:35:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 06:35:42 | ------------------------------------

2022-07-12 06:35:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1a2583e9-cff8-4334-a877-4722335e6990</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-12 06:35:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>