Test duration : 9.526s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2022-09-22 22:34:40 |
2022-09-22 22:34:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:40 | ------------------------------------ 2022-09-22 22:34:40 | [Mutex] waiting for: [configured:node:node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37:node-de3cd5c3-e1f3-4626-b112-84c225071c0a] 2022-09-22 22:34:40 | [Mutex] received everything. 2022-09-22 22:34:40 | [Mutex] isItemNotified: configured:node:node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37:node-de3cd5c3-e1f3-4626-b112-84c225071c0a :: true 2022-09-22 22:34:41 | [Mutex] waiting for: [received:nodes:e651d16c-0f89-4287-b6ff-d8835613c234:localhost] 2022-09-22 22:34:41 | [Mutex] received everything. 2022-09-22 22:34:41 | [Mutex] isItemNotified: received:node:e651d16c-0f89-4287-b6ff-d8835613c234:localhost:node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37:Node 1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37 :: true 2022-09-22 22:34:41 | [Mutex] waiting for: [received:nodes:a56dfc75-850c-4d62-9e15-5b75023b149f:localhost] 2022-09-22 22:34:41 | [Mutex] waiting for: [received:nodes:a56dfc75-850c-4d62-9e15-5b75023b149f:localhost] 2022-09-22 22:34:41 | [Mutex] waiting for: [received:nodes:a56dfc75-850c-4d62-9e15-5b75023b149f:localhost] 2022-09-22 22:34:41 | [Mutex] received everything. 2022-09-22 22:34:41 | [Mutex] isItemNotified: received:node:a56dfc75-850c-4d62-9e15-5b75023b149f:localhost:node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37:Node 1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37 :: false |
createNodes | 1.408s |
2022-09-22 22:34:38 |
2022-09-22 22:34:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:38 | ------------------------------------ 2022-09-22 22:34:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</title></pubsub></data> 2022-09-22 22:34:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 22:34:39 | [Mutex] waiting for: [received:nodes:a1433fab-a0d2-4f09-8e8b-863f156edbbb:localhost] 2022-09-22 22:34:39 | [Mutex] waiting for: [received:nodes:a1433fab-a0d2-4f09-8e8b-863f156edbbb:localhost] 2022-09-22 22:34:39 | [Mutex] received everything. 2022-09-22 22:34:39 | [Mutex] isItemNotified: received:node:a1433fab-a0d2-4f09-8e8b-863f156edbbb:localhost:node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37:Node 1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37 :: true |
createSubnodes | 1.030s |
2022-09-22 22:34:39 |
2022-09-22 22:34:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:39 | ------------------------------------ 2022-09-22 22:34:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-de3cd5c3-e1f3-4626-b112-84c225071c0a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node de3cd5c3-e1f3-4626-b112-84c225071c0a</title></pubsub></data> 2022-09-22 22:34:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 22:34:40 | [Mutex] waiting for: [received:nodes:5b527988-d8ca-4c00-a517-10e600f824f6:localhost] 2022-09-22 22:34:40 | [Mutex] received everything. 2022-09-22 22:34:40 | [Mutex] isItemNotified: received:node:5b527988-d8ca-4c00-a517-10e600f824f6:localhost:node-de3cd5c3-e1f3-4626-b112-84c225071c0a:Node de3cd5c3-e1f3-4626-b112-84c225071c0a :: true |
deleteNodes | 1.021s |
2022-09-22 22:34:46 |
2022-09-22 22:34:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:46 | ------------------------------------ 2022-09-22 22:34:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-de3cd5c3-e1f3-4626-b112-84c225071c0a</node></data> 2022-09-22 22:34:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 22:34:47 | [Mutex] waiting for: [received:nodes:478f82e1-f053-4ccc-9577-bd4d71d8dcc8:localhost] 2022-09-22 22:34:47 | [Mutex] waiting for: [received:nodes:478f82e1-f053-4ccc-9577-bd4d71d8dcc8:localhost] 2022-09-22 22:34:47 | [Mutex] waiting for: [received:nodes:478f82e1-f053-4ccc-9577-bd4d71d8dcc8:localhost] 2022-09-22 22:34:47 | [Mutex] received everything. 2022-09-22 22:34:47 | [Mutex] isItemNotified: received:node:478f82e1-f053-4ccc-9577-bd4d71d8dcc8:localhost:node-de3cd5c3-e1f3-4626-b112-84c225071c0a:Node de3cd5c3-e1f3-4626-b112-84c225071c0a :: false |
deleteSubnodes | 1.146s |
2022-09-22 22:34:44 |
2022-09-22 22:34:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:44 | ------------------------------------ 2022-09-22 22:34:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</node></data> 2022-09-22 22:34:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-22 22:34:46 | [Mutex] waiting for: [received:nodes:b05c5e8e-2ea5-4b97-af76-88190eace25e:localhost] 2022-09-22 22:34:46 | [Mutex] received everything. 2022-09-22 22:34:46 | [Mutex] isItemNotified: received:node:b05c5e8e-2ea5-4b97-af76-88190eace25e:localhost:node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37:Node 1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37 :: false 2022-09-22 22:34:46 | [Mutex] waiting for: [received:nodes:2282ac38-bfc1-4fae-9865-5fd980cbae36:localhost] 2022-09-22 22:34:46 | [Mutex] received everything. 2022-09-22 22:34:46 | [Mutex] isItemNotified: received:node:2282ac38-bfc1-4fae-9865-5fd980cbae36:localhost:node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37:Node 1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37 :: false |
publishItemsToNodes | 0.241s |
2022-09-22 22:34:42 |
2022-09-22 22:34:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:42 | ------------------------------------ 2022-09-22 22:34:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</node><item-id>item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7</item-id><entry><test>item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7</test></entry></data> 2022-09-22 22:34:43 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7</value></item-id></result> 2022-09-22 22:34:43 | [Mutex] waiting for: [published:item:notifieditem-bd882bd6-92cc-4a96-a908-a78eb1ed8de7:admin@test-domain.com] 2022-09-22 22:34:43 | [Mutex] received everything. 2022-09-22 22:34:43 | [Mutex] isItemNotified: published:item:notifieditem-bd882bd6-92cc-4a96-a908-a78eb1ed8de7:admin@test-domain.com :: true |
retractItemsFromNodes | 0.244s |
2022-09-22 22:34:43 |
2022-09-22 22:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:43 | ------------------------------------ 2022-09-22 22:34:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</node><item-id>item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7</item-id></data> 2022-09-22 22:34:43 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7</value></item-id></result> 2022-09-22 22:34:43 | [Mutex] waiting for: [retracted:item:notifieditem-bd882bd6-92cc-4a96-a908-a78eb1ed8de7:admin@test-domain.com] 2022-09-22 22:34:43 | [Mutex] received everything. 2022-09-22 22:34:43 | [Mutex] isItemNotified: retracted:item:notifieditem-bd882bd6-92cc-4a96-a908-a78eb1ed8de7:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.301s |
2022-09-22 22:34:43 |
2022-09-22 22:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:43 | ------------------------------------ 2022-09-22 22:34:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</node><item-id>item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7</item-id></data> 2022-09-22 22:34:43 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</value></node><item-id label="Item ID" type="text-single"><value>item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7</value></item-id><item label="Item" type="text-multi"><value><item id="item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7"><test>item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7</test></item></value></item></result> 2022-09-22 22:34:43 | [Mutex] notify: [retrieved:item:item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7:payload-matches:true:localhost] 2022-09-22 22:34:43 | [Mutex] received everything. 2022-09-22 22:34:43 | [Mutex] isItemNotified: retrieved:item:item-bd882bd6-92cc-4a96-a908-a78eb1ed8de7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-22 22:34:43 |
2022-09-22 22:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:43 | ------------------------------------ 2022-09-22 22:34:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-22 22:34:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</value><value>node-de3cd5c3-e1f3-4626-b112-84c225071c0a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-09-22 22:34:43 |
2022-09-22 22:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:43 | ------------------------------------ 2022-09-22 22:34:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37)</node-pattern></data> 2022-09-22 22:34:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.111s |
2022-09-22 22:34:41 |
2022-09-22 22:34:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:41 | ------------------------------------ 2022-09-22 22:34:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-22 22:34:41 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.177s |
2022-09-22 22:34:43 |
2022-09-22 22:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-22 22:34:43 | ------------------------------------ 2022-09-22 22:34:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1311a9ae-b47d-4055-b0ae-6e5f8b6f1c37</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-22 22:34:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |