Test duration : 9.468s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2023-08-06 22:30:50 |
2023-08-06 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:50 | ------------------------------------ 2023-08-06 22:30:50 | [Mutex] waiting for: [configured:node:node-59593bee-7e6c-4f0b-88c7-5c779a773a98:node-579589c7-128c-4693-bd4e-8c680a2b1183] 2023-08-06 22:30:50 | [Mutex] received everything. 2023-08-06 22:30:50 | [Mutex] isItemNotified: configured:node:node-59593bee-7e6c-4f0b-88c7-5c779a773a98:node-579589c7-128c-4693-bd4e-8c680a2b1183 :: true 2023-08-06 22:30:51 | [Mutex] waiting for: [received:nodes:c3f65333-13af-416a-bb53-cfd6f7e8c00f:localhost] 2023-08-06 22:30:51 | [Mutex] received everything. 2023-08-06 22:30:51 | [Mutex] isItemNotified: received:node:c3f65333-13af-416a-bb53-cfd6f7e8c00f:localhost:node-59593bee-7e6c-4f0b-88c7-5c779a773a98:Node 59593bee-7e6c-4f0b-88c7-5c779a773a98 :: true 2023-08-06 22:30:51 | [Mutex] waiting for: [received:nodes:44d333a5-caeb-4c44-a68e-4a47b3eaecab:localhost] 2023-08-06 22:30:51 | [Mutex] waiting for: [received:nodes:44d333a5-caeb-4c44-a68e-4a47b3eaecab:localhost] 2023-08-06 22:30:51 | [Mutex] waiting for: [received:nodes:44d333a5-caeb-4c44-a68e-4a47b3eaecab:localhost] 2023-08-06 22:30:51 | [Mutex] waiting for: [received:nodes:44d333a5-caeb-4c44-a68e-4a47b3eaecab:localhost] 2023-08-06 22:30:51 | [Mutex] received everything. 2023-08-06 22:30:51 | [Mutex] isItemNotified: received:node:44d333a5-caeb-4c44-a68e-4a47b3eaecab:localhost:node-59593bee-7e6c-4f0b-88c7-5c779a773a98:Node 59593bee-7e6c-4f0b-88c7-5c779a773a98 :: false |
createNodes | 1.508s |
2023-08-06 22:30:47 |
2023-08-06 22:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:47 | ------------------------------------ 2023-08-06 22:30:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-59593bee-7e6c-4f0b-88c7-5c779a773a98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 59593bee-7e6c-4f0b-88c7-5c779a773a98</title></pubsub></data> 2023-08-06 22:30:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-06 22:30:48 | [Mutex] waiting for: [received:nodes:a5634c63-67bf-44f0-a868-e8a89c20f3e8:localhost] 2023-08-06 22:30:48 | [Mutex] waiting for: [received:nodes:a5634c63-67bf-44f0-a868-e8a89c20f3e8:localhost] 2023-08-06 22:30:48 | [Mutex] waiting for: [received:nodes:a5634c63-67bf-44f0-a868-e8a89c20f3e8:localhost] 2023-08-06 22:30:48 | [Mutex] received everything. 2023-08-06 22:30:48 | [Mutex] isItemNotified: received:node:a5634c63-67bf-44f0-a868-e8a89c20f3e8:localhost:node-59593bee-7e6c-4f0b-88c7-5c779a773a98:Node 59593bee-7e6c-4f0b-88c7-5c779a773a98 :: true |
createSubnodes | 1.023s |
2023-08-06 22:30:48 |
2023-08-06 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:48 | ------------------------------------ 2023-08-06 22:30:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-579589c7-128c-4693-bd4e-8c680a2b1183</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 579589c7-128c-4693-bd4e-8c680a2b1183</title></pubsub></data> 2023-08-06 22:30:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-06 22:30:49 | [Mutex] waiting for: [received:nodes:4adc3cf4-25ea-43ce-be61-1dbf9ceea14a:localhost] 2023-08-06 22:30:50 | [Mutex] waiting for: [received:nodes:4adc3cf4-25ea-43ce-be61-1dbf9ceea14a:localhost] 2023-08-06 22:30:50 | [Mutex] waiting for: [received:nodes:4adc3cf4-25ea-43ce-be61-1dbf9ceea14a:localhost] 2023-08-06 22:30:50 | [Mutex] waiting for: [received:nodes:4adc3cf4-25ea-43ce-be61-1dbf9ceea14a:localhost] 2023-08-06 22:30:50 | [Mutex] received everything. 2023-08-06 22:30:50 | [Mutex] isItemNotified: received:node:4adc3cf4-25ea-43ce-be61-1dbf9ceea14a:localhost:node-579589c7-128c-4693-bd4e-8c680a2b1183:Node 579589c7-128c-4693-bd4e-8c680a2b1183 :: true |
deleteNodes | 1.020s |
2023-08-06 22:30:55 |
2023-08-06 22:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:55 | ------------------------------------ 2023-08-06 22:30:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-579589c7-128c-4693-bd4e-8c680a2b1183</node></data> 2023-08-06 22:30:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-06 22:30:56 | [Mutex] waiting for: [received:nodes:a5244b22-bdca-41cd-919f-66a1f523837a:localhost] 2023-08-06 22:30:56 | [Mutex] received everything. 2023-08-06 22:30:56 | [Mutex] isItemNotified: received:node:a5244b22-bdca-41cd-919f-66a1f523837a:localhost:node-579589c7-128c-4693-bd4e-8c680a2b1183:Node 579589c7-128c-4693-bd4e-8c680a2b1183 :: false |
deleteSubnodes | 1.113s |
2023-08-06 22:30:54 |
2023-08-06 22:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:54 | ------------------------------------ 2023-08-06 22:30:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-59593bee-7e6c-4f0b-88c7-5c779a773a98</node></data> 2023-08-06 22:30:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-06 22:30:55 | [Mutex] waiting for: [received:nodes:c4c38fae-80c3-4865-932d-c6856c429641:localhost] 2023-08-06 22:30:55 | [Mutex] waiting for: [received:nodes:c4c38fae-80c3-4865-932d-c6856c429641:localhost] 2023-08-06 22:30:55 | [Mutex] waiting for: [received:nodes:c4c38fae-80c3-4865-932d-c6856c429641:localhost] 2023-08-06 22:30:55 | [Mutex] received everything. 2023-08-06 22:30:55 | [Mutex] isItemNotified: received:node:c4c38fae-80c3-4865-932d-c6856c429641:localhost:node-59593bee-7e6c-4f0b-88c7-5c779a773a98:Node 59593bee-7e6c-4f0b-88c7-5c779a773a98 :: false 2023-08-06 22:30:55 | [Mutex] waiting for: [received:nodes:ec838ecc-4ab5-4bc0-b1f0-dfc8fcbfc79b:localhost] 2023-08-06 22:30:55 | [Mutex] received everything. 2023-08-06 22:30:55 | [Mutex] isItemNotified: received:node:ec838ecc-4ab5-4bc0-b1f0-dfc8fcbfc79b:localhost:node-59593bee-7e6c-4f0b-88c7-5c779a773a98:Node 59593bee-7e6c-4f0b-88c7-5c779a773a98 :: false |
publishItemsToNodes | 0.186s |
2023-08-06 22:30:52 |
2023-08-06 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:52 | ------------------------------------ 2023-08-06 22:30:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-59593bee-7e6c-4f0b-88c7-5c779a773a98</node><item-id>item-5c35df64-7145-4b57-b5a1-92832f5b740f</item-id><entry><test>item-5c35df64-7145-4b57-b5a1-92832f5b740f</test></entry></data> 2023-08-06 22:30:52 | 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-5c35df64-7145-4b57-b5a1-92832f5b740f</value></item-id></result> 2023-08-06 22:30:52 | [Mutex] received everything. 2023-08-06 22:30:52 | [Mutex] isItemNotified: published:item:notifieditem-5c35df64-7145-4b57-b5a1-92832f5b740f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.319s |
2023-08-06 22:30:52 |
2023-08-06 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:52 | ------------------------------------ 2023-08-06 22:30:52 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-59593bee-7e6c-4f0b-88c7-5c779a773a98</node><item-id>item-5c35df64-7145-4b57-b5a1-92832f5b740f</item-id></data> 2023-08-06 22:30:53 | 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-5c35df64-7145-4b57-b5a1-92832f5b740f</value></item-id></result> 2023-08-06 22:30:53 | [Mutex] received everything. 2023-08-06 22:30:53 | [Mutex] isItemNotified: retracted:item:notifieditem-5c35df64-7145-4b57-b5a1-92832f5b740f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.217s |
2023-08-06 22:30:52 |
2023-08-06 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:52 | ------------------------------------ 2023-08-06 22:30:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-59593bee-7e6c-4f0b-88c7-5c779a773a98</node><item-id>item-5c35df64-7145-4b57-b5a1-92832f5b740f</item-id></data> 2023-08-06 22:30:52 | 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-59593bee-7e6c-4f0b-88c7-5c779a773a98</value></node><item-id type="text-single" label="Item ID"><value>item-5c35df64-7145-4b57-b5a1-92832f5b740f</value></item-id><item type="text-multi" label="Item"><value><item id="item-5c35df64-7145-4b57-b5a1-92832f5b740f"><test>item-5c35df64-7145-4b57-b5a1-92832f5b740f</test></item></value></item></result> 2023-08-06 22:30:52 | [Mutex] notify: [retrieved:item:item-5c35df64-7145-4b57-b5a1-92832f5b740f:payload-matches:true:localhost] 2023-08-06 22:30:52 | [Mutex] received everything. 2023-08-06 22:30:52 | [Mutex] isItemNotified: retrieved:item:item-5c35df64-7145-4b57-b5a1-92832f5b740f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-08-06 22:30:52 |
2023-08-06 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:52 | ------------------------------------ 2023-08-06 22:30:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-08-06 22:30:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-579589c7-128c-4693-bd4e-8c680a2b1183</value><value>test</value><value>node-59593bee-7e6c-4f0b-88c7-5c779a773a98</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2023-08-06 22:30:52 |
2023-08-06 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:52 | ------------------------------------ 2023-08-06 22:30:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-59593bee-7e6c-4f0b-88c7-5c779a773a98)</node-pattern></data> 2023-08-06 22:30:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2023-08-06 22:30:51 |
2023-08-06 22:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:51 | ------------------------------------ 2023-08-06 22:30:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-59593bee-7e6c-4f0b-88c7-5c779a773a98</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-06 22:30:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.191s |
2023-08-06 22:30:53 |
2023-08-06 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-06 22:30:53 | ------------------------------------ 2023-08-06 22:30:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-59593bee-7e6c-4f0b-88c7-5c779a773a98</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-06 22:30:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |