Test duration : 9.443s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.086s |
2022-05-22 22:56:41 |
2022-05-22 22:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:41 | ------------------------------------ 2022-05-22 22:56:41 | [Mutex] waiting for: [configured:node:node-9baf5ffd-f887-4392-b4b1-af2e04e437cc:node-f1078d05-2da7-4406-a0b1-be9d1b4d466b] 2022-05-22 22:56:41 | [Mutex] received everything. 2022-05-22 22:56:41 | [Mutex] isItemNotified: configured:node:node-9baf5ffd-f887-4392-b4b1-af2e04e437cc:node-f1078d05-2da7-4406-a0b1-be9d1b4d466b :: true 2022-05-22 22:56:42 | [Mutex] waiting for: [received:nodes:16e026e9-3c2b-4e37-bbee-79a2febb7936:localhost] 2022-05-22 22:56:42 | [Mutex] received everything. 2022-05-22 22:56:42 | [Mutex] isItemNotified: received:node:16e026e9-3c2b-4e37-bbee-79a2febb7936:localhost:node-9baf5ffd-f887-4392-b4b1-af2e04e437cc:Node 9baf5ffd-f887-4392-b4b1-af2e04e437cc :: true 2022-05-22 22:56:42 | [Mutex] waiting for: [received:nodes:ba12a6be-b527-4233-bd05-78a2f3c96286:localhost] 2022-05-22 22:56:42 | [Mutex] received everything. 2022-05-22 22:56:42 | [Mutex] isItemNotified: received:node:ba12a6be-b527-4233-bd05-78a2f3c96286:localhost:node-9baf5ffd-f887-4392-b4b1-af2e04e437cc:Node 9baf5ffd-f887-4392-b4b1-af2e04e437cc :: false |
createNodes | 1.383s |
2022-05-22 22:56:39 |
2022-05-22 22:56:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:39 | ------------------------------------ 2022-05-22 22:56:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9baf5ffd-f887-4392-b4b1-af2e04e437cc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9baf5ffd-f887-4392-b4b1-af2e04e437cc</title></pubsub></data> 2022-05-22 22:56:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-22 22:56:40 | [Mutex] waiting for: [received:nodes:415317fe-ed44-425a-9163-d46f92b60a8c:localhost] 2022-05-22 22:56:40 | [Mutex] received everything. 2022-05-22 22:56:40 | [Mutex] isItemNotified: received:node:415317fe-ed44-425a-9163-d46f92b60a8c:localhost:node-9baf5ffd-f887-4392-b4b1-af2e04e437cc:Node 9baf5ffd-f887-4392-b4b1-af2e04e437cc :: true |
createSubnodes | 1.023s |
2022-05-22 22:56:40 |
2022-05-22 22:56:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:40 | ------------------------------------ 2022-05-22 22:56:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f1078d05-2da7-4406-a0b1-be9d1b4d466b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f1078d05-2da7-4406-a0b1-be9d1b4d466b</title></pubsub></data> 2022-05-22 22:56:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-22 22:56:41 | [Mutex] waiting for: [received:nodes:657d40f5-88bb-4ad0-b38f-547a7afe4c2c:localhost] 2022-05-22 22:56:41 | [Mutex] received everything. 2022-05-22 22:56:41 | [Mutex] isItemNotified: received:node:657d40f5-88bb-4ad0-b38f-547a7afe4c2c:localhost:node-f1078d05-2da7-4406-a0b1-be9d1b4d466b:Node f1078d05-2da7-4406-a0b1-be9d1b4d466b :: true |
deleteNodes | 1.015s |
2022-05-22 22:56:47 |
2022-05-22 22:56:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:47 | ------------------------------------ 2022-05-22 22:56:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f1078d05-2da7-4406-a0b1-be9d1b4d466b</node></data> 2022-05-22 22:56:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-22 22:56:48 | [Mutex] waiting for: [received:nodes:155a62b4-4b53-497e-ad39-49c1d930009f:localhost] 2022-05-22 22:56:48 | [Mutex] received everything. 2022-05-22 22:56:48 | [Mutex] isItemNotified: received:node:155a62b4-4b53-497e-ad39-49c1d930009f:localhost:node-f1078d05-2da7-4406-a0b1-be9d1b4d466b:Node f1078d05-2da7-4406-a0b1-be9d1b4d466b :: false |
deleteSubnodes | 1.168s |
2022-05-22 22:56:46 |
2022-05-22 22:56:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:46 | ------------------------------------ 2022-05-22 22:56:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9baf5ffd-f887-4392-b4b1-af2e04e437cc</node></data> 2022-05-22 22:56:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-22 22:56:47 | [Mutex] waiting for: [received:nodes:6bf07f22-2124-4e05-a0bd-70eca6e25ee4:localhost] 2022-05-22 22:56:47 | [Mutex] waiting for: [received:nodes:6bf07f22-2124-4e05-a0bd-70eca6e25ee4:localhost] 2022-05-22 22:56:47 | [Mutex] waiting for: [received:nodes:6bf07f22-2124-4e05-a0bd-70eca6e25ee4:localhost] 2022-05-22 22:56:47 | [Mutex] waiting for: [received:nodes:6bf07f22-2124-4e05-a0bd-70eca6e25ee4:localhost] 2022-05-22 22:56:47 | [Mutex] received everything. 2022-05-22 22:56:47 | [Mutex] isItemNotified: received:node:6bf07f22-2124-4e05-a0bd-70eca6e25ee4:localhost:node-9baf5ffd-f887-4392-b4b1-af2e04e437cc:Node 9baf5ffd-f887-4392-b4b1-af2e04e437cc :: false 2022-05-22 22:56:47 | [Mutex] waiting for: [received:nodes:68b4705f-54e7-4f58-b783-c9ba168101ad:localhost] 2022-05-22 22:56:47 | [Mutex] received everything. 2022-05-22 22:56:47 | [Mutex] isItemNotified: received:node:68b4705f-54e7-4f58-b783-c9ba168101ad:localhost:node-9baf5ffd-f887-4392-b4b1-af2e04e437cc:Node 9baf5ffd-f887-4392-b4b1-af2e04e437cc :: false |
publishItemsToNodes | 0.258s |
2022-05-22 22:56:44 |
2022-05-22 22:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:44 | ------------------------------------ 2022-05-22 22:56:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9baf5ffd-f887-4392-b4b1-af2e04e437cc</node><item-id>item-cbfc5a22-cbc0-4304-86a3-3cf8bb594562</item-id><entry><test>item-cbfc5a22-cbc0-4304-86a3-3cf8bb594562</test></entry></data> 2022-05-22 22:56:44 | 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-cbfc5a22-cbc0-4304-86a3-3cf8bb594562</value></item-id></result> 2022-05-22 22:56:44 | [Mutex] waiting for: [published:item:notifieditem-cbfc5a22-cbc0-4304-86a3-3cf8bb594562:admin@test-domain.com] 2022-05-22 22:56:44 | [Mutex] received everything. 2022-05-22 22:56:44 | [Mutex] isItemNotified: published:item:notifieditem-cbfc5a22-cbc0-4304-86a3-3cf8bb594562:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-05-22 22:56:44 |
2022-05-22 22:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:44 | ------------------------------------ 2022-05-22 22:56:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9baf5ffd-f887-4392-b4b1-af2e04e437cc</node><item-id>item-cbfc5a22-cbc0-4304-86a3-3cf8bb594562</item-id></data> 2022-05-22 22:56:44 | 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-cbfc5a22-cbc0-4304-86a3-3cf8bb594562</value></item-id></result> 2022-05-22 22:56:44 | [Mutex] received everything. 2022-05-22 22:56:44 | [Mutex] isItemNotified: retracted:item:notifieditem-cbfc5a22-cbc0-4304-86a3-3cf8bb594562:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.178s |
2022-05-22 22:56:44 |
2022-05-22 22:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:44 | ------------------------------------ 2022-05-22 22:56:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9baf5ffd-f887-4392-b4b1-af2e04e437cc</node><item-id>item-cbfc5a22-cbc0-4304-86a3-3cf8bb594562</item-id></data> 2022-05-22 22:56:44 | 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-9baf5ffd-f887-4392-b4b1-af2e04e437cc</value></node><item-id label="Item ID" type="text-single"><value>item-cbfc5a22-cbc0-4304-86a3-3cf8bb594562</value></item-id><item label="Item" type="text-multi"><value><item id="item-cbfc5a22-cbc0-4304-86a3-3cf8bb594562"><test>item-cbfc5a22-cbc0-4304-86a3-3cf8bb594562</test></item></value></item></result> 2022-05-22 22:56:44 | [Mutex] notify: [retrieved:item:item-cbfc5a22-cbc0-4304-86a3-3cf8bb594562:payload-matches:true:localhost] 2022-05-22 22:56:44 | [Mutex] received everything. 2022-05-22 22:56:44 | [Mutex] isItemNotified: retrieved:item:item-cbfc5a22-cbc0-4304-86a3-3cf8bb594562:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-22 22:56:44 |
2022-05-22 22:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:44 | ------------------------------------ 2022-05-22 22:56:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-22 22:56:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-9baf5ffd-f887-4392-b4b1-af2e04e437cc</value><value>node-f1078d05-2da7-4406-a0b1-be9d1b4d466b</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.050s |
2022-05-22 22:56:44 |
2022-05-22 22:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:44 | ------------------------------------ 2022-05-22 22:56:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9baf5ffd-f887-4392-b4b1-af2e04e437cc)</node-pattern></data> 2022-05-22 22:56:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.173s |
2022-05-22 22:56:42 |
2022-05-22 22:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:42 | ------------------------------------ 2022-05-22 22:56:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9baf5ffd-f887-4392-b4b1-af2e04e437cc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-22 22:56:43 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.231s |
2022-05-22 22:56:44 |
2022-05-22 22:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-22 22:56:44 | ------------------------------------ 2022-05-22 22:56:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9baf5ffd-f887-4392-b4b1-af2e04e437cc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-22 22:56:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |