Test duration : 9.318s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.093s |
2023-03-06 09:08:15 |
2023-03-06 09:08:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:15 | ------------------------------------ 2023-03-06 09:08:15 | [Mutex] waiting for: [configured:node:node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4:node-159c4060-47dd-4523-a971-8ce9146e6f81] 2023-03-06 09:08:16 | [Mutex] received everything. 2023-03-06 09:08:16 | [Mutex] isItemNotified: configured:node:node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4:node-159c4060-47dd-4523-a971-8ce9146e6f81 :: true 2023-03-06 09:08:17 | [Mutex] waiting for: [received:nodes:4d503fc9-7585-4ce1-b756-a16c9baa81d3:localhost] 2023-03-06 09:08:17 | [Mutex] received everything. 2023-03-06 09:08:17 | [Mutex] isItemNotified: received:node:4d503fc9-7585-4ce1-b756-a16c9baa81d3:localhost:node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4:Node ec5deabe-d9d1-4718-a1cf-d6756610d1b4 :: true 2023-03-06 09:08:17 | [Mutex] waiting for: [received:nodes:b487fa92-6f32-4952-996b-84b78401be70:localhost] 2023-03-06 09:08:17 | [Mutex] received everything. 2023-03-06 09:08:17 | [Mutex] isItemNotified: received:node:b487fa92-6f32-4952-996b-84b78401be70:localhost:node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4:Node ec5deabe-d9d1-4718-a1cf-d6756610d1b4 :: false |
createNodes | 1.432s |
2023-03-06 09:08:13 |
2023-03-06 09:08:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:13 | ------------------------------------ 2023-03-06 09:08:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ec5deabe-d9d1-4718-a1cf-d6756610d1b4</title></pubsub></data> 2023-03-06 09:08:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 09:08:14 | [Mutex] waiting for: [received:nodes:a9f8840b-3441-4412-a08d-36335a380d5a:localhost] 2023-03-06 09:08:14 | [Mutex] waiting for: [received:nodes:a9f8840b-3441-4412-a08d-36335a380d5a:localhost] 2023-03-06 09:08:14 | [Mutex] waiting for: [received:nodes:a9f8840b-3441-4412-a08d-36335a380d5a:localhost] 2023-03-06 09:08:14 | [Mutex] waiting for: [received:nodes:a9f8840b-3441-4412-a08d-36335a380d5a:localhost] 2023-03-06 09:08:14 | [Mutex] received everything. 2023-03-06 09:08:14 | [Mutex] isItemNotified: received:node:a9f8840b-3441-4412-a08d-36335a380d5a:localhost:node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4:Node ec5deabe-d9d1-4718-a1cf-d6756610d1b4 :: true |
createSubnodes | 1.031s |
2023-03-06 09:08:14 |
2023-03-06 09:08:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:14 | ------------------------------------ 2023-03-06 09:08:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-159c4060-47dd-4523-a971-8ce9146e6f81</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 159c4060-47dd-4523-a971-8ce9146e6f81</title></pubsub></data> 2023-03-06 09:08:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 09:08:15 | [Mutex] waiting for: [received:nodes:ca624b4b-e503-47a4-b6e3-999f9496b3ff:localhost] 2023-03-06 09:08:15 | [Mutex] waiting for: [received:nodes:ca624b4b-e503-47a4-b6e3-999f9496b3ff:localhost] 2023-03-06 09:08:15 | [Mutex] waiting for: [received:nodes:ca624b4b-e503-47a4-b6e3-999f9496b3ff:localhost] 2023-03-06 09:08:15 | [Mutex] waiting for: [received:nodes:ca624b4b-e503-47a4-b6e3-999f9496b3ff:localhost] 2023-03-06 09:08:15 | [Mutex] waiting for: [received:nodes:ca624b4b-e503-47a4-b6e3-999f9496b3ff:localhost] 2023-03-06 09:08:15 | [Mutex] received everything. 2023-03-06 09:08:15 | [Mutex] isItemNotified: received:node:ca624b4b-e503-47a4-b6e3-999f9496b3ff:localhost:node-159c4060-47dd-4523-a971-8ce9146e6f81:Node 159c4060-47dd-4523-a971-8ce9146e6f81 :: true |
deleteNodes | 1.027s |
2023-03-06 09:08:21 |
2023-03-06 09:08:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:21 | ------------------------------------ 2023-03-06 09:08:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-159c4060-47dd-4523-a971-8ce9146e6f81</node></data> 2023-03-06 09:08:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 09:08:22 | [Mutex] waiting for: [received:nodes:07da8c06-870f-40bb-972b-d3ba93d6ead7:localhost] 2023-03-06 09:08:22 | [Mutex] waiting for: [received:nodes:07da8c06-870f-40bb-972b-d3ba93d6ead7:localhost] 2023-03-06 09:08:22 | [Mutex] waiting for: [received:nodes:07da8c06-870f-40bb-972b-d3ba93d6ead7:localhost] 2023-03-06 09:08:22 | [Mutex] received everything. 2023-03-06 09:08:22 | [Mutex] isItemNotified: received:node:07da8c06-870f-40bb-972b-d3ba93d6ead7:localhost:node-159c4060-47dd-4523-a971-8ce9146e6f81:Node 159c4060-47dd-4523-a971-8ce9146e6f81 :: false |
deleteSubnodes | 1.122s |
2023-03-06 09:08:20 |
2023-03-06 09:08:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:20 | ------------------------------------ 2023-03-06 09:08:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4</node></data> 2023-03-06 09:08:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-06 09:08:21 | [Mutex] waiting for: [received:nodes:aef388b5-2394-4f33-b80d-91fdf08e6ff4:localhost] 2023-03-06 09:08:21 | [Mutex] waiting for: [received:nodes:aef388b5-2394-4f33-b80d-91fdf08e6ff4:localhost] 2023-03-06 09:08:21 | [Mutex] waiting for: [received:nodes:aef388b5-2394-4f33-b80d-91fdf08e6ff4:localhost] 2023-03-06 09:08:21 | [Mutex] waiting for: [received:nodes:aef388b5-2394-4f33-b80d-91fdf08e6ff4:localhost] 2023-03-06 09:08:21 | [Mutex] received everything. 2023-03-06 09:08:21 | [Mutex] isItemNotified: received:node:aef388b5-2394-4f33-b80d-91fdf08e6ff4:localhost:node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4:Node ec5deabe-d9d1-4718-a1cf-d6756610d1b4 :: false 2023-03-06 09:08:21 | [Mutex] waiting for: [received:nodes:c8ab0a4f-a530-4fe3-a7a1-bf56cde91f03:localhost] 2023-03-06 09:08:21 | [Mutex] received everything. 2023-03-06 09:08:21 | [Mutex] isItemNotified: received:node:c8ab0a4f-a530-4fe3-a7a1-bf56cde91f03:localhost:node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4:Node ec5deabe-d9d1-4718-a1cf-d6756610d1b4 :: false |
publishItemsToNodes | 0.212s |
2023-03-06 09:08:18 |
2023-03-06 09:08:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:18 | ------------------------------------ 2023-03-06 09:08:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4</node><item-id>item-f36982c0-9ff2-43ea-9312-30ae8506f090</item-id><entry><test>item-f36982c0-9ff2-43ea-9312-30ae8506f090</test></entry></data> 2023-03-06 09:08:18 | 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-f36982c0-9ff2-43ea-9312-30ae8506f090</value></item-id></result> 2023-03-06 09:08:18 | [Mutex] waiting for: [published:item:notifieditem-f36982c0-9ff2-43ea-9312-30ae8506f090:admin@test-domain.com] 2023-03-06 09:08:18 | [Mutex] received everything. 2023-03-06 09:08:18 | [Mutex] isItemNotified: published:item:notifieditem-f36982c0-9ff2-43ea-9312-30ae8506f090:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2023-03-06 09:08:18 |
2023-03-06 09:08:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:18 | ------------------------------------ 2023-03-06 09:08:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4</node><item-id>item-f36982c0-9ff2-43ea-9312-30ae8506f090</item-id></data> 2023-03-06 09:08:18 | 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-f36982c0-9ff2-43ea-9312-30ae8506f090</value></item-id></result> 2023-03-06 09:08:18 | [Mutex] received everything. 2023-03-06 09:08:18 | [Mutex] isItemNotified: retracted:item:notifieditem-f36982c0-9ff2-43ea-9312-30ae8506f090:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.146s |
2023-03-06 09:08:18 |
2023-03-06 09:08:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:18 | ------------------------------------ 2023-03-06 09:08:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4</node><item-id>item-f36982c0-9ff2-43ea-9312-30ae8506f090</item-id></data> 2023-03-06 09:08:18 | 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-ec5deabe-d9d1-4718-a1cf-d6756610d1b4</value></node><item-id label="Item ID" type="text-single"><value>item-f36982c0-9ff2-43ea-9312-30ae8506f090</value></item-id><item label="Item" type="text-multi"><value><item id="item-f36982c0-9ff2-43ea-9312-30ae8506f090"><test>item-f36982c0-9ff2-43ea-9312-30ae8506f090</test></item></value></item></result> 2023-03-06 09:08:18 | [Mutex] notify: [retrieved:item:item-f36982c0-9ff2-43ea-9312-30ae8506f090:payload-matches:true:localhost] 2023-03-06 09:08:18 | [Mutex] received everything. 2023-03-06 09:08:18 | [Mutex] isItemNotified: retrieved:item:item-f36982c0-9ff2-43ea-9312-30ae8506f090:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-03-06 09:08:18 |
2023-03-06 09:08:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:18 | ------------------------------------ 2023-03-06 09:08:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-06 09:08:18 | 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-159c4060-47dd-4523-a971-8ce9146e6f81</value><value>node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-03-06 09:08:18 |
2023-03-06 09:08:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:18 | ------------------------------------ 2023-03-06 09:08:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4)</node-pattern></data> 2023-03-06 09:08:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.108s |
2023-03-06 09:08:17 |
2023-03-06 09:08:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:17 | ------------------------------------ 2023-03-06 09:08:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 09:08:17 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.211s |
2023-03-06 09:08:18 |
2023-03-06 09:08:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-06 09:08:18 | ------------------------------------ 2023-03-06 09:08:18 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ec5deabe-d9d1-4718-a1cf-d6756610d1b4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-06 09:08:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |