Test duration : 9.214s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.087s |
2022-07-27 22:33:04 |
2022-07-27 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:04 | ------------------------------------ 2022-07-27 22:33:04 | [Mutex] waiting for: [configured:node:node-ccf037df-e89d-48b6-8b03-6f7281246ff1:node-50a4ad95-4712-4cc5-9a46-655a944684f6] 2022-07-27 22:33:04 | [Mutex] received everything. 2022-07-27 22:33:04 | [Mutex] isItemNotified: configured:node:node-ccf037df-e89d-48b6-8b03-6f7281246ff1:node-50a4ad95-4712-4cc5-9a46-655a944684f6 :: true 2022-07-27 22:33:05 | [Mutex] waiting for: [received:nodes:1e34ad2a-3662-4af3-ade0-1f2478e53b07:localhost] 2022-07-27 22:33:05 | [Mutex] received everything. 2022-07-27 22:33:05 | [Mutex] isItemNotified: received:node:1e34ad2a-3662-4af3-ade0-1f2478e53b07:localhost:node-ccf037df-e89d-48b6-8b03-6f7281246ff1:Node ccf037df-e89d-48b6-8b03-6f7281246ff1 :: true 2022-07-27 22:33:05 | [Mutex] waiting for: [received:nodes:d9fd1169-36b6-4bc0-88af-fe0fe3c866df:localhost] 2022-07-27 22:33:05 | [Mutex] received everything. 2022-07-27 22:33:05 | [Mutex] isItemNotified: received:node:d9fd1169-36b6-4bc0-88af-fe0fe3c866df:localhost:node-ccf037df-e89d-48b6-8b03-6f7281246ff1:Node ccf037df-e89d-48b6-8b03-6f7281246ff1 :: false |
createNodes | 1.385s |
2022-07-27 22:33:02 |
2022-07-27 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:02 | ------------------------------------ 2022-07-27 22:33:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ccf037df-e89d-48b6-8b03-6f7281246ff1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ccf037df-e89d-48b6-8b03-6f7281246ff1</title></pubsub></data> 2022-07-27 22:33:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-27 22:33:03 | [Mutex] waiting for: [received:nodes:3f355b04-2d53-43ac-af13-7cc29723ef25:localhost] 2022-07-27 22:33:03 | [Mutex] waiting for: [received:nodes:3f355b04-2d53-43ac-af13-7cc29723ef25:localhost] 2022-07-27 22:33:03 | [Mutex] received everything. 2022-07-27 22:33:03 | [Mutex] isItemNotified: received:node:3f355b04-2d53-43ac-af13-7cc29723ef25:localhost:node-ccf037df-e89d-48b6-8b03-6f7281246ff1:Node ccf037df-e89d-48b6-8b03-6f7281246ff1 :: true |
createSubnodes | 1.024s |
2022-07-27 22:33:03 |
2022-07-27 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:03 | ------------------------------------ 2022-07-27 22:33:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-50a4ad95-4712-4cc5-9a46-655a944684f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 50a4ad95-4712-4cc5-9a46-655a944684f6</title></pubsub></data> 2022-07-27 22:33:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-27 22:33:04 | [Mutex] waiting for: [received:nodes:44ae8ee2-f76f-4a45-a8ed-134bf864972a:localhost] 2022-07-27 22:33:04 | [Mutex] waiting for: [received:nodes:44ae8ee2-f76f-4a45-a8ed-134bf864972a:localhost] 2022-07-27 22:33:04 | [Mutex] received everything. 2022-07-27 22:33:04 | [Mutex] isItemNotified: received:node:44ae8ee2-f76f-4a45-a8ed-134bf864972a:localhost:node-50a4ad95-4712-4cc5-9a46-655a944684f6:Node 50a4ad95-4712-4cc5-9a46-655a944684f6 :: true |
deleteNodes | 1.016s |
2022-07-27 22:33:10 |
2022-07-27 22:33:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:10 | ------------------------------------ 2022-07-27 22:33:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-50a4ad95-4712-4cc5-9a46-655a944684f6</node></data> 2022-07-27 22:33:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-27 22:33:11 | [Mutex] waiting for: [received:nodes:a9a6fa48-2b3a-4132-a846-9e3934b31eed:localhost] 2022-07-27 22:33:11 | [Mutex] waiting for: [received:nodes:a9a6fa48-2b3a-4132-a846-9e3934b31eed:localhost] 2022-07-27 22:33:11 | [Mutex] received everything. 2022-07-27 22:33:11 | [Mutex] isItemNotified: received:node:a9a6fa48-2b3a-4132-a846-9e3934b31eed:localhost:node-50a4ad95-4712-4cc5-9a46-655a944684f6:Node 50a4ad95-4712-4cc5-9a46-655a944684f6 :: false |
deleteSubnodes | 1.153s |
2022-07-27 22:33:08 |
2022-07-27 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:08 | ------------------------------------ 2022-07-27 22:33:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ccf037df-e89d-48b6-8b03-6f7281246ff1</node></data> 2022-07-27 22:33:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-27 22:33:10 | [Mutex] waiting for: [received:nodes:2ead14f5-e5ca-44b3-927f-b36e7927c51f:localhost] 2022-07-27 22:33:10 | [Mutex] received everything. 2022-07-27 22:33:10 | [Mutex] isItemNotified: received:node:2ead14f5-e5ca-44b3-927f-b36e7927c51f:localhost:node-ccf037df-e89d-48b6-8b03-6f7281246ff1:Node ccf037df-e89d-48b6-8b03-6f7281246ff1 :: false 2022-07-27 22:33:10 | [Mutex] waiting for: [received:nodes:31f0be33-085c-4a5d-9042-b9f354018d6d:localhost] 2022-07-27 22:33:10 | [Mutex] received everything. 2022-07-27 22:33:10 | [Mutex] isItemNotified: received:node:31f0be33-085c-4a5d-9042-b9f354018d6d:localhost:node-ccf037df-e89d-48b6-8b03-6f7281246ff1:Node ccf037df-e89d-48b6-8b03-6f7281246ff1 :: false |
publishItemsToNodes | 0.204s |
2022-07-27 22:33:07 |
2022-07-27 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:07 | ------------------------------------ 2022-07-27 22:33:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ccf037df-e89d-48b6-8b03-6f7281246ff1</node><item-id>item-7e79f277-cb8a-4a37-aedd-8856c8faad6b</item-id><entry><test>item-7e79f277-cb8a-4a37-aedd-8856c8faad6b</test></entry></data> 2022-07-27 22:33:07 | 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-7e79f277-cb8a-4a37-aedd-8856c8faad6b</value></item-id></result> 2022-07-27 22:33:07 | [Mutex] waiting for: [published:item:notifieditem-7e79f277-cb8a-4a37-aedd-8856c8faad6b:admin@test-domain.com] 2022-07-27 22:33:07 | [Mutex] received everything. 2022-07-27 22:33:07 | [Mutex] isItemNotified: published:item:notifieditem-7e79f277-cb8a-4a37-aedd-8856c8faad6b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.216s |
2022-07-27 22:33:07 |
2022-07-27 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:07 | ------------------------------------ 2022-07-27 22:33:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ccf037df-e89d-48b6-8b03-6f7281246ff1</node><item-id>item-7e79f277-cb8a-4a37-aedd-8856c8faad6b</item-id></data> 2022-07-27 22:33:07 | 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-7e79f277-cb8a-4a37-aedd-8856c8faad6b</value></item-id></result> 2022-07-27 22:33:07 | [Mutex] received everything. 2022-07-27 22:33:07 | [Mutex] isItemNotified: retracted:item:notifieditem-7e79f277-cb8a-4a37-aedd-8856c8faad6b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.168s |
2022-07-27 22:33:07 |
2022-07-27 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:07 | ------------------------------------ 2022-07-27 22:33:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ccf037df-e89d-48b6-8b03-6f7281246ff1</node><item-id>item-7e79f277-cb8a-4a37-aedd-8856c8faad6b</item-id></data> 2022-07-27 22:33:07 | 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-ccf037df-e89d-48b6-8b03-6f7281246ff1</value></node><item-id type="text-single" label="Item ID"><value>item-7e79f277-cb8a-4a37-aedd-8856c8faad6b</value></item-id><item type="text-multi" label="Item"><value><item id="item-7e79f277-cb8a-4a37-aedd-8856c8faad6b"><test>item-7e79f277-cb8a-4a37-aedd-8856c8faad6b</test></item></value></item></result> 2022-07-27 22:33:07 | [Mutex] notify: [retrieved:item:item-7e79f277-cb8a-4a37-aedd-8856c8faad6b:payload-matches:true:localhost] 2022-07-27 22:33:07 | [Mutex] received everything. 2022-07-27 22:33:07 | [Mutex] isItemNotified: retrieved:item:item-7e79f277-cb8a-4a37-aedd-8856c8faad6b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-27 22:33:07 |
2022-07-27 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:07 | ------------------------------------ 2022-07-27 22:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-27 22:33:07 | 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-ccf037df-e89d-48b6-8b03-6f7281246ff1</value><value>node-50a4ad95-4712-4cc5-9a46-655a944684f6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-07-27 22:33:07 |
2022-07-27 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:07 | ------------------------------------ 2022-07-27 22:33:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ccf037df-e89d-48b6-8b03-6f7281246ff1)</node-pattern></data> 2022-07-27 22:33:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.113s |
2022-07-27 22:33:05 |
2022-07-27 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:05 | ------------------------------------ 2022-07-27 22:33:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ccf037df-e89d-48b6-8b03-6f7281246ff1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-27 22:33:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.175s |
2022-07-27 22:33:07 |
2022-07-27 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-27 22:33:07 | ------------------------------------ 2022-07-27 22:33:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ccf037df-e89d-48b6-8b03-6f7281246ff1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-27 22:33:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |