Test duration : 9.400s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.084s |
2022-12-16 10:50:14 |
2022-12-16 10:50:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:14 | ------------------------------------ 2022-12-16 10:50:14 | [Mutex] waiting for: [configured:node:node-35195da7-2ef7-4f11-9b40-f7110817cbca:node-cd7becb1-f4d2-4646-9edb-a21ecc80a906] 2022-12-16 10:50:14 | [Mutex] received everything. 2022-12-16 10:50:14 | [Mutex] isItemNotified: configured:node:node-35195da7-2ef7-4f11-9b40-f7110817cbca:node-cd7becb1-f4d2-4646-9edb-a21ecc80a906 :: true 2022-12-16 10:50:15 | [Mutex] waiting for: [received:nodes:decbee86-8b0a-4e7b-bef5-4cb921bd2260:localhost] 2022-12-16 10:50:15 | [Mutex] received everything. 2022-12-16 10:50:15 | [Mutex] isItemNotified: received:node:decbee86-8b0a-4e7b-bef5-4cb921bd2260:localhost:node-35195da7-2ef7-4f11-9b40-f7110817cbca:Node 35195da7-2ef7-4f11-9b40-f7110817cbca :: true 2022-12-16 10:50:15 | [Mutex] waiting for: [received:nodes:63561cfe-bda2-4621-8b07-2f47d61bf761:localhost] 2022-12-16 10:50:15 | [Mutex] waiting for: [received:nodes:63561cfe-bda2-4621-8b07-2f47d61bf761:localhost] 2022-12-16 10:50:15 | [Mutex] waiting for: [received:nodes:63561cfe-bda2-4621-8b07-2f47d61bf761:localhost] 2022-12-16 10:50:15 | [Mutex] waiting for: [received:nodes:63561cfe-bda2-4621-8b07-2f47d61bf761:localhost] 2022-12-16 10:50:15 | [Mutex] received everything. 2022-12-16 10:50:15 | [Mutex] isItemNotified: received:node:63561cfe-bda2-4621-8b07-2f47d61bf761:localhost:node-35195da7-2ef7-4f11-9b40-f7110817cbca:Node 35195da7-2ef7-4f11-9b40-f7110817cbca :: false |
createNodes | 1.472s |
2022-12-16 10:50:12 |
2022-12-16 10:50:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:12 | ------------------------------------ 2022-12-16 10:50:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-35195da7-2ef7-4f11-9b40-f7110817cbca</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 35195da7-2ef7-4f11-9b40-f7110817cbca</title></pubsub></data> 2022-12-16 10:50:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 10:50:13 | [Mutex] waiting for: [received:nodes:7b4c8ee6-a49e-4507-a897-cb7928120cf1:localhost] 2022-12-16 10:50:13 | [Mutex] received everything. 2022-12-16 10:50:13 | [Mutex] isItemNotified: received:node:7b4c8ee6-a49e-4507-a897-cb7928120cf1:localhost:node-35195da7-2ef7-4f11-9b40-f7110817cbca:Node 35195da7-2ef7-4f11-9b40-f7110817cbca :: true |
createSubnodes | 1.032s |
2022-12-16 10:50:13 |
2022-12-16 10:50:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:13 | ------------------------------------ 2022-12-16 10:50:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cd7becb1-f4d2-4646-9edb-a21ecc80a906</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cd7becb1-f4d2-4646-9edb-a21ecc80a906</title></pubsub></data> 2022-12-16 10:50:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 10:50:14 | [Mutex] waiting for: [received:nodes:40fd0ca1-0f67-49f8-8be4-4c2f337d9824:localhost] 2022-12-16 10:50:14 | [Mutex] waiting for: [received:nodes:40fd0ca1-0f67-49f8-8be4-4c2f337d9824:localhost] 2022-12-16 10:50:14 | [Mutex] waiting for: [received:nodes:40fd0ca1-0f67-49f8-8be4-4c2f337d9824:localhost] 2022-12-16 10:50:14 | [Mutex] waiting for: [received:nodes:40fd0ca1-0f67-49f8-8be4-4c2f337d9824:localhost] 2022-12-16 10:50:14 | [Mutex] received everything. 2022-12-16 10:50:14 | [Mutex] isItemNotified: received:node:40fd0ca1-0f67-49f8-8be4-4c2f337d9824:localhost:node-cd7becb1-f4d2-4646-9edb-a21ecc80a906:Node cd7becb1-f4d2-4646-9edb-a21ecc80a906 :: true |
deleteNodes | 1.016s |
2022-12-16 10:50:20 |
2022-12-16 10:50:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:20 | ------------------------------------ 2022-12-16 10:50:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cd7becb1-f4d2-4646-9edb-a21ecc80a906</node></data> 2022-12-16 10:50:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 10:50:21 | [Mutex] waiting for: [received:nodes:ebd05d83-2663-4da1-9234-bada81a5fe96:localhost] 2022-12-16 10:50:21 | [Mutex] waiting for: [received:nodes:ebd05d83-2663-4da1-9234-bada81a5fe96:localhost] 2022-12-16 10:50:21 | [Mutex] received everything. 2022-12-16 10:50:21 | [Mutex] isItemNotified: received:node:ebd05d83-2663-4da1-9234-bada81a5fe96:localhost:node-cd7becb1-f4d2-4646-9edb-a21ecc80a906:Node cd7becb1-f4d2-4646-9edb-a21ecc80a906 :: false |
deleteSubnodes | 1.122s |
2022-12-16 10:50:18 |
2022-12-16 10:50:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:18 | ------------------------------------ 2022-12-16 10:50:18 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-35195da7-2ef7-4f11-9b40-f7110817cbca</node></data> 2022-12-16 10:50:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 10:50:20 | [Mutex] waiting for: [received:nodes:c655429e-1c9d-4c00-848d-a22f18e839e7:localhost] 2022-12-16 10:50:20 | [Mutex] waiting for: [received:nodes:c655429e-1c9d-4c00-848d-a22f18e839e7:localhost] 2022-12-16 10:50:20 | [Mutex] waiting for: [received:nodes:c655429e-1c9d-4c00-848d-a22f18e839e7:localhost] 2022-12-16 10:50:20 | [Mutex] waiting for: [received:nodes:c655429e-1c9d-4c00-848d-a22f18e839e7:localhost] 2022-12-16 10:50:20 | [Mutex] received everything. 2022-12-16 10:50:20 | [Mutex] isItemNotified: received:node:c655429e-1c9d-4c00-848d-a22f18e839e7:localhost:node-35195da7-2ef7-4f11-9b40-f7110817cbca:Node 35195da7-2ef7-4f11-9b40-f7110817cbca :: false 2022-12-16 10:50:20 | [Mutex] waiting for: [received:nodes:9df74bd8-5a68-48e4-8cdf-638258305a8d:localhost] 2022-12-16 10:50:20 | [Mutex] received everything. 2022-12-16 10:50:20 | [Mutex] isItemNotified: received:node:9df74bd8-5a68-48e4-8cdf-638258305a8d:localhost:node-35195da7-2ef7-4f11-9b40-f7110817cbca:Node 35195da7-2ef7-4f11-9b40-f7110817cbca :: false |
publishItemsToNodes | 0.169s |
2022-12-16 10:50:16 |
2022-12-16 10:50:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:16 | ------------------------------------ 2022-12-16 10:50:16 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-35195da7-2ef7-4f11-9b40-f7110817cbca</node><item-id>item-7f90c3ee-802b-4220-acdc-56b78cd9ae92</item-id><entry><test>item-7f90c3ee-802b-4220-acdc-56b78cd9ae92</test></entry></data> 2022-12-16 10:50:17 | 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-7f90c3ee-802b-4220-acdc-56b78cd9ae92</value></item-id></result> 2022-12-16 10:50:17 | [Mutex] received everything. 2022-12-16 10:50:17 | [Mutex] isItemNotified: published:item:notifieditem-7f90c3ee-802b-4220-acdc-56b78cd9ae92:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-12-16 10:50:17 |
2022-12-16 10:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:17 | ------------------------------------ 2022-12-16 10:50:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-35195da7-2ef7-4f11-9b40-f7110817cbca</node><item-id>item-7f90c3ee-802b-4220-acdc-56b78cd9ae92</item-id></data> 2022-12-16 10:50:17 | 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-7f90c3ee-802b-4220-acdc-56b78cd9ae92</value></item-id></result> 2022-12-16 10:50:17 | [Mutex] received everything. 2022-12-16 10:50:17 | [Mutex] isItemNotified: retracted:item:notifieditem-7f90c3ee-802b-4220-acdc-56b78cd9ae92:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.204s |
2022-12-16 10:50:17 |
2022-12-16 10:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:17 | ------------------------------------ 2022-12-16 10:50:17 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-35195da7-2ef7-4f11-9b40-f7110817cbca</node><item-id>item-7f90c3ee-802b-4220-acdc-56b78cd9ae92</item-id></data> 2022-12-16 10:50:17 | 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-35195da7-2ef7-4f11-9b40-f7110817cbca</value></node><item-id label="Item ID" type="text-single"><value>item-7f90c3ee-802b-4220-acdc-56b78cd9ae92</value></item-id><item label="Item" type="text-multi"><value><item id="item-7f90c3ee-802b-4220-acdc-56b78cd9ae92"><test>item-7f90c3ee-802b-4220-acdc-56b78cd9ae92</test></item></value></item></result> 2022-12-16 10:50:17 | [Mutex] notify: [retrieved:item:item-7f90c3ee-802b-4220-acdc-56b78cd9ae92:payload-matches:true:localhost] 2022-12-16 10:50:17 | [Mutex] received everything. 2022-12-16 10:50:17 | [Mutex] isItemNotified: retrieved:item:item-7f90c3ee-802b-4220-acdc-56b78cd9ae92:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-16 10:50:17 |
2022-12-16 10:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:17 | ------------------------------------ 2022-12-16 10:50:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-16 10:50:17 | 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-35195da7-2ef7-4f11-9b40-f7110817cbca</value><value>node-cd7becb1-f4d2-4646-9edb-a21ecc80a906</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-16 10:50:17 |
2022-12-16 10:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:17 | ------------------------------------ 2022-12-16 10:50:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-35195da7-2ef7-4f11-9b40-f7110817cbca)</node-pattern></data> 2022-12-16 10:50:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.137s |
2022-12-16 10:50:15 |
2022-12-16 10:50:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:15 | ------------------------------------ 2022-12-16 10:50:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-35195da7-2ef7-4f11-9b40-f7110817cbca</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 10:50:15 | 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-12-16 10:50:17 |
2022-12-16 10:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 10:50:17 | ------------------------------------ 2022-12-16 10:50:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-35195da7-2ef7-4f11-9b40-f7110817cbca</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 10:50:17 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |