Test duration : 10.211s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.116s |
2020-10-01 23:00:53 |
2020-10-01 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:53 | ------------------------------------ 2020-10-01 23:00:53 | [Mutex] waiting for: [configured:node:node-2e8bfe17-7f47-407a-ad0c-3e1732838aae:node-2bf1d261-e7fb-45e2-a71e-3d335e538816] 2020-10-01 23:00:53 | [Mutex] received everything. 2020-10-01 23:00:53 | [Mutex] isItemNotified: configured:node:node-2e8bfe17-7f47-407a-ad0c-3e1732838aae:node-2bf1d261-e7fb-45e2-a71e-3d335e538816 :: true 2020-10-01 23:00:54 | [Mutex] waiting for: [received:nodes:32b3a0e8-aafa-4b01-af72-8eb9f5167b01:localhost] 2020-10-01 23:00:54 | [Mutex] received everything. 2020-10-01 23:00:54 | [Mutex] isItemNotified: received:node:32b3a0e8-aafa-4b01-af72-8eb9f5167b01:localhost:node-2e8bfe17-7f47-407a-ad0c-3e1732838aae:Node 2e8bfe17-7f47-407a-ad0c-3e1732838aae :: true 2020-10-01 23:00:54 | [Mutex] waiting for: [received:nodes:14fc7cda-5bb7-4f7a-922b-0f892651e1d6:localhost] 2020-10-01 23:00:54 | [Mutex] waiting for: [received:nodes:14fc7cda-5bb7-4f7a-922b-0f892651e1d6:localhost] 2020-10-01 23:00:54 | [Mutex] waiting for: [received:nodes:14fc7cda-5bb7-4f7a-922b-0f892651e1d6:localhost] 2020-10-01 23:00:54 | [Mutex] waiting for: [received:nodes:14fc7cda-5bb7-4f7a-922b-0f892651e1d6:localhost] 2020-10-01 23:00:54 | [Mutex] received everything. 2020-10-01 23:00:54 | [Mutex] isItemNotified: received:node:14fc7cda-5bb7-4f7a-922b-0f892651e1d6:localhost:node-2e8bfe17-7f47-407a-ad0c-3e1732838aae:Node 2e8bfe17-7f47-407a-ad0c-3e1732838aae :: false |
createNodes | 1.435s |
2020-10-01 23:00:51 |
2020-10-01 23:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:51 | ------------------------------------ 2020-10-01 23:00:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2e8bfe17-7f47-407a-ad0c-3e1732838aae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2e8bfe17-7f47-407a-ad0c-3e1732838aae</title></pubsub></data> 2020-10-01 23:00:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 23:00:52 | [Mutex] waiting for: [received:nodes:76772c3d-4598-4769-b50d-0baa0ea6f9af:localhost] 2020-10-01 23:00:52 | [Mutex] received everything. 2020-10-01 23:00:52 | [Mutex] isItemNotified: received:node:76772c3d-4598-4769-b50d-0baa0ea6f9af:localhost:node-2e8bfe17-7f47-407a-ad0c-3e1732838aae:Node 2e8bfe17-7f47-407a-ad0c-3e1732838aae :: true |
createSubnodes | 1.032s |
2020-10-01 23:00:52 |
2020-10-01 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:52 | ------------------------------------ 2020-10-01 23:00:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2bf1d261-e7fb-45e2-a71e-3d335e538816</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2bf1d261-e7fb-45e2-a71e-3d335e538816</title></pubsub></data> 2020-10-01 23:00:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 23:00:53 | [Mutex] waiting for: [received:nodes:02f8f2b7-ead0-4b5a-805c-aa5c15d972f6:localhost] 2020-10-01 23:00:53 | [Mutex] received everything. 2020-10-01 23:00:53 | [Mutex] isItemNotified: received:node:02f8f2b7-ead0-4b5a-805c-aa5c15d972f6:localhost:node-2bf1d261-e7fb-45e2-a71e-3d335e538816:Node 2bf1d261-e7fb-45e2-a71e-3d335e538816 :: true |
deleteNodes | 1.024s |
2020-10-01 23:00:59 |
2020-10-01 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:59 | ------------------------------------ 2020-10-01 23:00:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2bf1d261-e7fb-45e2-a71e-3d335e538816</node></data> 2020-10-01 23:00:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 23:01:00 | [Mutex] waiting for: [received:nodes:96c3a1f1-fa14-499c-84f2-8405a161b46c:localhost] 2020-10-01 23:01:00 | [Mutex] waiting for: [received:nodes:96c3a1f1-fa14-499c-84f2-8405a161b46c:localhost] 2020-10-01 23:01:00 | [Mutex] received everything. 2020-10-01 23:01:00 | [Mutex] isItemNotified: received:node:96c3a1f1-fa14-499c-84f2-8405a161b46c:localhost:node-2bf1d261-e7fb-45e2-a71e-3d335e538816:Node 2bf1d261-e7fb-45e2-a71e-3d335e538816 :: false |
deleteSubnodes | 1.109s |
2020-10-01 23:00:58 |
2020-10-01 23:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:58 | ------------------------------------ 2020-10-01 23:00:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2e8bfe17-7f47-407a-ad0c-3e1732838aae</node></data> 2020-10-01 23:00:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 23:00:59 | [Mutex] waiting for: [received:nodes:97560484-3c36-441c-91aa-7b53064a8133:localhost] 2020-10-01 23:00:59 | [Mutex] waiting for: [received:nodes:97560484-3c36-441c-91aa-7b53064a8133:localhost] 2020-10-01 23:00:59 | [Mutex] received everything. 2020-10-01 23:00:59 | [Mutex] isItemNotified: received:node:97560484-3c36-441c-91aa-7b53064a8133:localhost:node-2e8bfe17-7f47-407a-ad0c-3e1732838aae:Node 2e8bfe17-7f47-407a-ad0c-3e1732838aae :: false 2020-10-01 23:00:59 | [Mutex] waiting for: [received:nodes:fc712dae-89db-4639-9cc9-505c869bccd6:localhost] 2020-10-01 23:00:59 | [Mutex] received everything. 2020-10-01 23:00:59 | [Mutex] isItemNotified: received:node:fc712dae-89db-4639-9cc9-505c869bccd6:localhost:node-2e8bfe17-7f47-407a-ad0c-3e1732838aae:Node 2e8bfe17-7f47-407a-ad0c-3e1732838aae :: false |
publishItemsToNodes | 0.235s |
2020-10-01 23:00:55 |
2020-10-01 23:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:55 | ------------------------------------ 2020-10-01 23:00:55 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2e8bfe17-7f47-407a-ad0c-3e1732838aae</node><item-id>item-956dcaba-4097-44ef-8948-c9ef5a158607</item-id><entry><test>item-956dcaba-4097-44ef-8948-c9ef5a158607</test></entry></data> 2020-10-01 23:00:56 | 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-956dcaba-4097-44ef-8948-c9ef5a158607</value></item-id></result> 2020-10-01 23:00:56 | [Mutex] received everything. 2020-10-01 23:00:56 | [Mutex] isItemNotified: published:item:notifieditem-956dcaba-4097-44ef-8948-c9ef5a158607:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2020-10-01 23:00:56 |
2020-10-01 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:56 | ------------------------------------ 2020-10-01 23:00:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2e8bfe17-7f47-407a-ad0c-3e1732838aae</node><item-id>item-956dcaba-4097-44ef-8948-c9ef5a158607</item-id></data> 2020-10-01 23:00:56 | 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-956dcaba-4097-44ef-8948-c9ef5a158607</value></item-id></result> 2020-10-01 23:00:56 | [Mutex] received everything. 2020-10-01 23:00:56 | [Mutex] isItemNotified: retracted:item:notifieditem-956dcaba-4097-44ef-8948-c9ef5a158607:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.303s |
2020-10-01 23:00:56 |
2020-10-01 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:56 | ------------------------------------ 2020-10-01 23:00:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2e8bfe17-7f47-407a-ad0c-3e1732838aae</node><item-id>item-956dcaba-4097-44ef-8948-c9ef5a158607</item-id></data> 2020-10-01 23:00:56 | 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-2e8bfe17-7f47-407a-ad0c-3e1732838aae</value></node><item-id type="text-single" label="Item ID"><value>item-956dcaba-4097-44ef-8948-c9ef5a158607</value></item-id><item type="text-multi" label="Item"><value><item id="item-956dcaba-4097-44ef-8948-c9ef5a158607"><test>item-956dcaba-4097-44ef-8948-c9ef5a158607</test></item></value></item></result> 2020-10-01 23:00:56 | [Mutex] notify: [retrieved:item:item-956dcaba-4097-44ef-8948-c9ef5a158607:payload-matches:true:localhost] 2020-10-01 23:00:56 | [Mutex] received everything. 2020-10-01 23:00:56 | [Mutex] isItemNotified: retrieved:item:item-956dcaba-4097-44ef-8948-c9ef5a158607:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-01 23:00:56 |
2020-10-01 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:56 | ------------------------------------ 2020-10-01 23:00:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-01 23:00:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-2bf1d261-e7fb-45e2-a71e-3d335e538816</value><value>node-2e8bfe17-7f47-407a-ad0c-3e1732838aae</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-10-01 23:00:56 |
2020-10-01 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:56 | ------------------------------------ 2020-10-01 23:00:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2e8bfe17-7f47-407a-ad0c-3e1732838aae)</node-pattern></data> 2020-10-01 23:00:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.148s |
2020-10-01 23:00:54 |
2020-10-01 23:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:54 | ------------------------------------ 2020-10-01 23:00:54 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2e8bfe17-7f47-407a-ad0c-3e1732838aae</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-01 23:00:54 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.355s |
2020-10-01 23:00:56 |
2020-10-01 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 23:00:56 | ------------------------------------ 2020-10-01 23:00:56 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2e8bfe17-7f47-407a-ad0c-3e1732838aae</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-01 23:00:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |