Test duration : 10.707s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.118s |
2021-05-05 22:41:26 |
2021-05-05 22:41:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:26 | ------------------------------------ 2021-05-05 22:41:26 | [Mutex] waiting for: [configured:node:node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a:node-a6589af9-653e-4479-8240-65cdf80cd4f2] 2021-05-05 22:41:26 | [Mutex] received everything. 2021-05-05 22:41:26 | [Mutex] isItemNotified: configured:node:node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a:node-a6589af9-653e-4479-8240-65cdf80cd4f2 :: true 2021-05-05 22:41:27 | [Mutex] waiting for: [received:nodes:cdb182ec-4a4c-46e4-80f5-1a2e04342b14:localhost] 2021-05-05 22:41:27 | [Mutex] received everything. 2021-05-05 22:41:27 | [Mutex] isItemNotified: received:node:cdb182ec-4a4c-46e4-80f5-1a2e04342b14:localhost:node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a:Node 56b2541e-ef02-46ac-ba4e-d72e6c23b87a :: true 2021-05-05 22:41:27 | [Mutex] waiting for: [received:nodes:54c14081-ec7e-4f10-9157-90d5f5afecf8:localhost] 2021-05-05 22:41:27 | [Mutex] received everything. 2021-05-05 22:41:27 | [Mutex] isItemNotified: received:node:54c14081-ec7e-4f10-9157-90d5f5afecf8:localhost:node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a:Node 56b2541e-ef02-46ac-ba4e-d72e6c23b87a :: false |
createNodes | 1.725s |
2021-05-05 22:41:23 |
2021-05-05 22:41:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:23 | ------------------------------------ 2021-05-05 22:41:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 56b2541e-ef02-46ac-ba4e-d72e6c23b87a</title></pubsub></data> 2021-05-05 22:41:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-05 22:41:25 | [Mutex] waiting for: [received:nodes:0ca31800-15dd-4e8a-a6cf-ab9b8aebde92:localhost] 2021-05-05 22:41:25 | [Mutex] waiting for: [received:nodes:0ca31800-15dd-4e8a-a6cf-ab9b8aebde92:localhost] 2021-05-05 22:41:25 | [Mutex] waiting for: [received:nodes:0ca31800-15dd-4e8a-a6cf-ab9b8aebde92:localhost] 2021-05-05 22:41:25 | [Mutex] received everything. 2021-05-05 22:41:25 | [Mutex] isItemNotified: received:node:0ca31800-15dd-4e8a-a6cf-ab9b8aebde92:localhost:node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a:Node 56b2541e-ef02-46ac-ba4e-d72e6c23b87a :: true |
createSubnodes | 1.028s |
2021-05-05 22:41:25 |
2021-05-05 22:41:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:25 | ------------------------------------ 2021-05-05 22:41:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a6589af9-653e-4479-8240-65cdf80cd4f2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a6589af9-653e-4479-8240-65cdf80cd4f2</title></pubsub></data> 2021-05-05 22:41:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-05 22:41:26 | [Mutex] waiting for: [received:nodes:a0bf6e7a-1a0d-433d-97e9-9560e464fd38:localhost] 2021-05-05 22:41:26 | [Mutex] received everything. 2021-05-05 22:41:26 | [Mutex] isItemNotified: received:node:a0bf6e7a-1a0d-433d-97e9-9560e464fd38:localhost:node-a6589af9-653e-4479-8240-65cdf80cd4f2:Node a6589af9-653e-4479-8240-65cdf80cd4f2 :: true |
deleteNodes | 1.016s |
2021-05-05 22:41:32 |
2021-05-05 22:41:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:32 | ------------------------------------ 2021-05-05 22:41:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a6589af9-653e-4479-8240-65cdf80cd4f2</node></data> 2021-05-05 22:41:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-05 22:41:33 | [Mutex] waiting for: [received:nodes:3094c15b-c532-4bea-bf3d-b5aeee16cdac:localhost] 2021-05-05 22:41:33 | [Mutex] waiting for: [received:nodes:3094c15b-c532-4bea-bf3d-b5aeee16cdac:localhost] 2021-05-05 22:41:33 | [Mutex] received everything. 2021-05-05 22:41:33 | [Mutex] isItemNotified: received:node:3094c15b-c532-4bea-bf3d-b5aeee16cdac:localhost:node-a6589af9-653e-4479-8240-65cdf80cd4f2:Node a6589af9-653e-4479-8240-65cdf80cd4f2 :: false |
deleteSubnodes | 1.214s |
2021-05-05 22:41:30 |
2021-05-05 22:41:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:30 | ------------------------------------ 2021-05-05 22:41:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a</node></data> 2021-05-05 22:41:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-05 22:41:32 | [Mutex] waiting for: [received:nodes:4cb623c5-a887-49ba-b23d-1aa955e696d5:localhost] 2021-05-05 22:41:32 | [Mutex] received everything. 2021-05-05 22:41:32 | [Mutex] isItemNotified: received:node:4cb623c5-a887-49ba-b23d-1aa955e696d5:localhost:node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a:Node 56b2541e-ef02-46ac-ba4e-d72e6c23b87a :: false 2021-05-05 22:41:32 | [Mutex] waiting for: [received:nodes:e952c80f-453f-4116-b66a-4a328456c798:localhost] 2021-05-05 22:41:32 | [Mutex] received everything. 2021-05-05 22:41:32 | [Mutex] isItemNotified: received:node:e952c80f-453f-4116-b66a-4a328456c798:localhost:node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a:Node 56b2541e-ef02-46ac-ba4e-d72e6c23b87a :: false |
publishItemsToNodes | 0.261s |
2021-05-05 22:41:28 |
2021-05-05 22:41:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:28 | ------------------------------------ 2021-05-05 22:41:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a</node><item-id>item-3296336f-3e68-4dd4-a9fc-be9e88f3e33d</item-id><entry><test>item-3296336f-3e68-4dd4-a9fc-be9e88f3e33d</test></entry></data> 2021-05-05 22:41:28 | 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-3296336f-3e68-4dd4-a9fc-be9e88f3e33d</value></item-id></result> 2021-05-05 22:41:28 | [Mutex] waiting for: [published:item:notifieditem-3296336f-3e68-4dd4-a9fc-be9e88f3e33d:admin@test-domain.com] 2021-05-05 22:41:28 | [Mutex] received everything. 2021-05-05 22:41:28 | [Mutex] isItemNotified: published:item:notifieditem-3296336f-3e68-4dd4-a9fc-be9e88f3e33d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.354s |
2021-05-05 22:41:29 |
2021-05-05 22:41:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:29 | ------------------------------------ 2021-05-05 22:41:29 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a</node><item-id>item-3296336f-3e68-4dd4-a9fc-be9e88f3e33d</item-id></data> 2021-05-05 22:41:29 | 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-3296336f-3e68-4dd4-a9fc-be9e88f3e33d</value></item-id></result> 2021-05-05 22:41:29 | [Mutex] received everything. 2021-05-05 22:41:29 | [Mutex] isItemNotified: retracted:item:notifieditem-3296336f-3e68-4dd4-a9fc-be9e88f3e33d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.383s |
2021-05-05 22:41:28 |
2021-05-05 22:41:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:28 | ------------------------------------ 2021-05-05 22:41:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a</node><item-id>item-3296336f-3e68-4dd4-a9fc-be9e88f3e33d</item-id></data> 2021-05-05 22:41:29 | 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-56b2541e-ef02-46ac-ba4e-d72e6c23b87a</value></node><item-id label="Item ID" type="text-single"><value>item-3296336f-3e68-4dd4-a9fc-be9e88f3e33d</value></item-id><item label="Item" type="text-multi"><value><item id="item-3296336f-3e68-4dd4-a9fc-be9e88f3e33d"><test>item-3296336f-3e68-4dd4-a9fc-be9e88f3e33d</test></item></value></item></result> 2021-05-05 22:41:29 | [Mutex] notify: [retrieved:item:item-3296336f-3e68-4dd4-a9fc-be9e88f3e33d:payload-matches:true:localhost] 2021-05-05 22:41:29 | [Mutex] received everything. 2021-05-05 22:41:29 | [Mutex] isItemNotified: retrieved:item:item-3296336f-3e68-4dd4-a9fc-be9e88f3e33d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-05-05 22:41:29 |
2021-05-05 22:41:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:29 | ------------------------------------ 2021-05-05 22:41:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-05 22:41:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a6589af9-653e-4479-8240-65cdf80cd4f2</value><value>test</value><value>node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2021-05-05 22:41:29 |
2021-05-05 22:41:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:29 | ------------------------------------ 2021-05-05 22:41:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a)</node-pattern></data> 2021-05-05 22:41:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.143s |
2021-05-05 22:41:27 |
2021-05-05 22:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:27 | ------------------------------------ 2021-05-05 22:41:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-05 22:41:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.242s |
2021-05-05 22:41:29 |
2021-05-05 22:41:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:41:29 | ------------------------------------ 2021-05-05 22:41:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-56b2541e-ef02-46ac-ba4e-d72e6c23b87a</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-05 22:41:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |