Test duration : 9.804s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2023-07-07 22:59:59 |
2023-07-07 22:59:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:59:59 | ------------------------------------ 2023-07-07 22:59:59 | [Mutex] waiting for: [configured:node:node-05af89ca-a293-4e06-8fd4-6d8805c1d379:node-5494bf04-621b-434e-815f-a5cd4fa09b6a] 2023-07-07 22:59:59 | [Mutex] received everything. 2023-07-07 22:59:59 | [Mutex] isItemNotified: configured:node:node-05af89ca-a293-4e06-8fd4-6d8805c1d379:node-5494bf04-621b-434e-815f-a5cd4fa09b6a :: true 2023-07-07 23:00:00 | [Mutex] waiting for: [received:nodes:6bf2a171-8ed1-4521-bbd4-5396c2ab9def:localhost] 2023-07-07 23:00:00 | [Mutex] received everything. 2023-07-07 23:00:00 | [Mutex] isItemNotified: received:node:6bf2a171-8ed1-4521-bbd4-5396c2ab9def:localhost:node-05af89ca-a293-4e06-8fd4-6d8805c1d379:Node 05af89ca-a293-4e06-8fd4-6d8805c1d379 :: true 2023-07-07 23:00:00 | [Mutex] waiting for: [received:nodes:58c39580-1869-4965-949c-7fefdd4ab34a:localhost] 2023-07-07 23:00:00 | [Mutex] received everything. 2023-07-07 23:00:00 | [Mutex] isItemNotified: received:node:58c39580-1869-4965-949c-7fefdd4ab34a:localhost:node-05af89ca-a293-4e06-8fd4-6d8805c1d379:Node 05af89ca-a293-4e06-8fd4-6d8805c1d379 :: false |
createNodes | 1.593s |
2023-07-07 22:59:57 |
2023-07-07 22:59:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:59:57 | ------------------------------------ 2023-07-07 22:59:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-05af89ca-a293-4e06-8fd4-6d8805c1d379</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05af89ca-a293-4e06-8fd4-6d8805c1d379</title></pubsub></data> 2023-07-07 22:59:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 22:59:58 | [Mutex] waiting for: [received:nodes:4f082a49-e376-4faa-8f4a-7045389a637d:localhost] 2023-07-07 22:59:58 | [Mutex] waiting for: [received:nodes:4f082a49-e376-4faa-8f4a-7045389a637d:localhost] 2023-07-07 22:59:58 | [Mutex] waiting for: [received:nodes:4f082a49-e376-4faa-8f4a-7045389a637d:localhost] 2023-07-07 22:59:58 | [Mutex] waiting for: [received:nodes:4f082a49-e376-4faa-8f4a-7045389a637d:localhost] 2023-07-07 22:59:58 | [Mutex] received everything. 2023-07-07 22:59:58 | [Mutex] isItemNotified: received:node:4f082a49-e376-4faa-8f4a-7045389a637d:localhost:node-05af89ca-a293-4e06-8fd4-6d8805c1d379:Node 05af89ca-a293-4e06-8fd4-6d8805c1d379 :: true |
createSubnodes | 1.025s |
2023-07-07 22:59:58 |
2023-07-07 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:59:58 | ------------------------------------ 2023-07-07 22:59:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5494bf04-621b-434e-815f-a5cd4fa09b6a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5494bf04-621b-434e-815f-a5cd4fa09b6a</title></pubsub></data> 2023-07-07 22:59:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 22:59:59 | [Mutex] waiting for: [received:nodes:deae426b-fa3e-4b59-9204-fb69ae1fc13c:localhost] 2023-07-07 22:59:59 | [Mutex] waiting for: [received:nodes:deae426b-fa3e-4b59-9204-fb69ae1fc13c:localhost] 2023-07-07 22:59:59 | [Mutex] waiting for: [received:nodes:deae426b-fa3e-4b59-9204-fb69ae1fc13c:localhost] 2023-07-07 22:59:59 | [Mutex] waiting for: [received:nodes:deae426b-fa3e-4b59-9204-fb69ae1fc13c:localhost] 2023-07-07 22:59:59 | [Mutex] waiting for: [received:nodes:deae426b-fa3e-4b59-9204-fb69ae1fc13c:localhost] 2023-07-07 22:59:59 | [Mutex] received everything. 2023-07-07 22:59:59 | [Mutex] isItemNotified: received:node:deae426b-fa3e-4b59-9204-fb69ae1fc13c:localhost:node-5494bf04-621b-434e-815f-a5cd4fa09b6a:Node 5494bf04-621b-434e-815f-a5cd4fa09b6a :: true |
deleteNodes | 1.065s |
2023-07-07 23:00:05 |
2023-07-07 23:00:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:05 | ------------------------------------ 2023-07-07 23:00:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5494bf04-621b-434e-815f-a5cd4fa09b6a</node></data> 2023-07-07 23:00:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 23:00:06 | [Mutex] waiting for: [received:nodes:b2f9b187-ed99-4d2e-9b1f-c30a7c521b34:localhost] 2023-07-07 23:00:06 | [Mutex] waiting for: [received:nodes:b2f9b187-ed99-4d2e-9b1f-c30a7c521b34:localhost] 2023-07-07 23:00:06 | [Mutex] waiting for: [received:nodes:b2f9b187-ed99-4d2e-9b1f-c30a7c521b34:localhost] 2023-07-07 23:00:06 | [Mutex] received everything. 2023-07-07 23:00:06 | [Mutex] isItemNotified: received:node:b2f9b187-ed99-4d2e-9b1f-c30a7c521b34:localhost:node-5494bf04-621b-434e-815f-a5cd4fa09b6a:Node 5494bf04-621b-434e-815f-a5cd4fa09b6a :: false |
deleteSubnodes | 1.191s |
2023-07-07 23:00:03 |
2023-07-07 23:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:03 | ------------------------------------ 2023-07-07 23:00:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-05af89ca-a293-4e06-8fd4-6d8805c1d379</node></data> 2023-07-07 23:00:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 23:00:05 | [Mutex] waiting for: [received:nodes:a928bb79-17e1-45ec-b368-bb642acbbc21:localhost] 2023-07-07 23:00:05 | [Mutex] waiting for: [received:nodes:a928bb79-17e1-45ec-b368-bb642acbbc21:localhost] 2023-07-07 23:00:05 | [Mutex] waiting for: [received:nodes:a928bb79-17e1-45ec-b368-bb642acbbc21:localhost] 2023-07-07 23:00:05 | [Mutex] received everything. 2023-07-07 23:00:05 | [Mutex] isItemNotified: received:node:a928bb79-17e1-45ec-b368-bb642acbbc21:localhost:node-05af89ca-a293-4e06-8fd4-6d8805c1d379:Node 05af89ca-a293-4e06-8fd4-6d8805c1d379 :: false 2023-07-07 23:00:05 | [Mutex] waiting for: [received:nodes:9eb0bfa0-b1ed-4e17-ac0a-b94f4d5d4930:localhost] 2023-07-07 23:00:05 | [Mutex] received everything. 2023-07-07 23:00:05 | [Mutex] isItemNotified: received:node:9eb0bfa0-b1ed-4e17-ac0a-b94f4d5d4930:localhost:node-05af89ca-a293-4e06-8fd4-6d8805c1d379:Node 05af89ca-a293-4e06-8fd4-6d8805c1d379 :: false |
publishItemsToNodes | 0.260s |
2023-07-07 23:00:01 |
2023-07-07 23:00:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:01 | ------------------------------------ 2023-07-07 23:00:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-05af89ca-a293-4e06-8fd4-6d8805c1d379</node><item-id>item-fae6bcda-f376-4e2c-a727-508fa06fa6a8</item-id><entry><test>item-fae6bcda-f376-4e2c-a727-508fa06fa6a8</test></entry></data> 2023-07-07 23:00:02 | 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-fae6bcda-f376-4e2c-a727-508fa06fa6a8</value></item-id></result> 2023-07-07 23:00:02 | [Mutex] waiting for: [published:item:notifieditem-fae6bcda-f376-4e2c-a727-508fa06fa6a8:admin@test-domain.com] 2023-07-07 23:00:02 | [Mutex] received everything. 2023-07-07 23:00:02 | [Mutex] isItemNotified: published:item:notifieditem-fae6bcda-f376-4e2c-a727-508fa06fa6a8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.227s |
2023-07-07 23:00:02 |
2023-07-07 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:02 | ------------------------------------ 2023-07-07 23:00:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-05af89ca-a293-4e06-8fd4-6d8805c1d379</node><item-id>item-fae6bcda-f376-4e2c-a727-508fa06fa6a8</item-id></data> 2023-07-07 23:00:02 | 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-fae6bcda-f376-4e2c-a727-508fa06fa6a8</value></item-id></result> 2023-07-07 23:00:02 | [Mutex] received everything. 2023-07-07 23:00:02 | [Mutex] isItemNotified: retracted:item:notifieditem-fae6bcda-f376-4e2c-a727-508fa06fa6a8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.222s |
2023-07-07 23:00:02 |
2023-07-07 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:02 | ------------------------------------ 2023-07-07 23:00:02 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-05af89ca-a293-4e06-8fd4-6d8805c1d379</node><item-id>item-fae6bcda-f376-4e2c-a727-508fa06fa6a8</item-id></data> 2023-07-07 23:00:02 | 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-05af89ca-a293-4e06-8fd4-6d8805c1d379</value></node><item-id type="text-single" label="Item ID"><value>item-fae6bcda-f376-4e2c-a727-508fa06fa6a8</value></item-id><item type="text-multi" label="Item"><value><item id="item-fae6bcda-f376-4e2c-a727-508fa06fa6a8"><test>item-fae6bcda-f376-4e2c-a727-508fa06fa6a8</test></item></value></item></result> 2023-07-07 23:00:02 | [Mutex] notify: [retrieved:item:item-fae6bcda-f376-4e2c-a727-508fa06fa6a8:payload-matches:true:localhost] 2023-07-07 23:00:02 | [Mutex] received everything. 2023-07-07 23:00:02 | [Mutex] isItemNotified: retrieved:item:item-fae6bcda-f376-4e2c-a727-508fa06fa6a8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-07 23:00:02 |
2023-07-07 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:02 | ------------------------------------ 2023-07-07 23:00:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-07 23:00:02 | 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-5494bf04-621b-434e-815f-a5cd4fa09b6a</value><value>node-05af89ca-a293-4e06-8fd4-6d8805c1d379</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-07-07 23:00:02 |
2023-07-07 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:02 | ------------------------------------ 2023-07-07 23:00:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05af89ca-a293-4e06-8fd4-6d8805c1d379)</node-pattern></data> 2023-07-07 23:00:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.157s |
2023-07-07 23:00:00 |
2023-07-07 23:00:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:00 | ------------------------------------ 2023-07-07 23:00:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-05af89ca-a293-4e06-8fd4-6d8805c1d379</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-07 23:00:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.199s |
2023-07-07 23:00:02 |
2023-07-07 23:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 23:00:02 | ------------------------------------ 2023-07-07 23:00:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-05af89ca-a293-4e06-8fd4-6d8805c1d379</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-07 23:00:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |