Test duration : 10.021s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2021-03-17 22:56:59 |
2021-03-17 22:56:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:56:59 | ------------------------------------ 2021-03-17 22:56:59 | [Mutex] waiting for: [configured:node:node-43990122-d0da-44ec-bd42-cc34cdbebf46:node-12204e07-b4e8-4399-8a73-20a72f29179b] 2021-03-17 22:56:59 | [Mutex] received everything. 2021-03-17 22:56:59 | [Mutex] isItemNotified: configured:node:node-43990122-d0da-44ec-bd42-cc34cdbebf46:node-12204e07-b4e8-4399-8a73-20a72f29179b :: true 2021-03-17 22:57:00 | [Mutex] waiting for: [received:nodes:70b997a5-16e3-481c-9056-2cd221b9b038:localhost] 2021-03-17 22:57:00 | [Mutex] received everything. 2021-03-17 22:57:00 | [Mutex] isItemNotified: received:node:70b997a5-16e3-481c-9056-2cd221b9b038:localhost:node-43990122-d0da-44ec-bd42-cc34cdbebf46:Node 43990122-d0da-44ec-bd42-cc34cdbebf46 :: true 2021-03-17 22:57:00 | [Mutex] waiting for: [received:nodes:8e2c4749-0c8d-4b0c-904c-c8bff5444289:localhost] 2021-03-17 22:57:00 | [Mutex] received everything. 2021-03-17 22:57:00 | [Mutex] isItemNotified: received:node:8e2c4749-0c8d-4b0c-904c-c8bff5444289:localhost:node-43990122-d0da-44ec-bd42-cc34cdbebf46:Node 43990122-d0da-44ec-bd42-cc34cdbebf46 :: false |
createNodes | 1.458s |
2021-03-17 22:56:56 |
2021-03-17 22:56:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:56:56 | ------------------------------------ 2021-03-17 22:56:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-43990122-d0da-44ec-bd42-cc34cdbebf46</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 43990122-d0da-44ec-bd42-cc34cdbebf46</title></pubsub></data> 2021-03-17 22:56:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-17 22:56:58 | [Mutex] waiting for: [received:nodes:6a579daa-c322-4f15-94c5-fc7fdc42fa3b:localhost] 2021-03-17 22:56:58 | [Mutex] received everything. 2021-03-17 22:56:58 | [Mutex] isItemNotified: received:node:6a579daa-c322-4f15-94c5-fc7fdc42fa3b:localhost:node-43990122-d0da-44ec-bd42-cc34cdbebf46:Node 43990122-d0da-44ec-bd42-cc34cdbebf46 :: true |
createSubnodes | 1.033s |
2021-03-17 22:56:58 |
2021-03-17 22:56:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:56:58 | ------------------------------------ 2021-03-17 22:56:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-12204e07-b4e8-4399-8a73-20a72f29179b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 12204e07-b4e8-4399-8a73-20a72f29179b</title></pubsub></data> 2021-03-17 22:56:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-17 22:56:59 | [Mutex] waiting for: [received:nodes:b12e1f60-1384-4851-9bae-5f8764b67a51:localhost] 2021-03-17 22:56:59 | [Mutex] received everything. 2021-03-17 22:56:59 | [Mutex] isItemNotified: received:node:b12e1f60-1384-4851-9bae-5f8764b67a51:localhost:node-12204e07-b4e8-4399-8a73-20a72f29179b:Node 12204e07-b4e8-4399-8a73-20a72f29179b :: true |
deleteNodes | 1.022s |
2021-03-17 22:57:04 |
2021-03-17 22:57:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:57:04 | ------------------------------------ 2021-03-17 22:57:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-12204e07-b4e8-4399-8a73-20a72f29179b</node></data> 2021-03-17 22:57:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-17 22:57:05 | [Mutex] waiting for: [received:nodes:25128033-e4d4-44e6-b612-8b629df7f4b1:localhost] 2021-03-17 22:57:05 | [Mutex] received everything. 2021-03-17 22:57:05 | [Mutex] isItemNotified: received:node:25128033-e4d4-44e6-b612-8b629df7f4b1:localhost:node-12204e07-b4e8-4399-8a73-20a72f29179b:Node 12204e07-b4e8-4399-8a73-20a72f29179b :: false |
deleteSubnodes | 1.113s |
2021-03-17 22:57:03 |
2021-03-17 22:57:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:57:03 | ------------------------------------ 2021-03-17 22:57:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-43990122-d0da-44ec-bd42-cc34cdbebf46</node></data> 2021-03-17 22:57:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-17 22:57:04 | [Mutex] waiting for: [received:nodes:5c440d2c-d93e-470a-8926-6df4e9ce1be9:localhost] 2021-03-17 22:57:04 | [Mutex] received everything. 2021-03-17 22:57:04 | [Mutex] isItemNotified: received:node:5c440d2c-d93e-470a-8926-6df4e9ce1be9:localhost:node-43990122-d0da-44ec-bd42-cc34cdbebf46:Node 43990122-d0da-44ec-bd42-cc34cdbebf46 :: false 2021-03-17 22:57:04 | [Mutex] waiting for: [received:nodes:70f4adfc-685c-4efd-933d-d9ba76c03473:localhost] 2021-03-17 22:57:04 | [Mutex] received everything. 2021-03-17 22:57:04 | [Mutex] isItemNotified: received:node:70f4adfc-685c-4efd-933d-d9ba76c03473:localhost:node-43990122-d0da-44ec-bd42-cc34cdbebf46:Node 43990122-d0da-44ec-bd42-cc34cdbebf46 :: false |
publishItemsToNodes | 0.254s |
2021-03-17 22:57:01 |
2021-03-17 22:57:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:57:01 | ------------------------------------ 2021-03-17 22:57:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-43990122-d0da-44ec-bd42-cc34cdbebf46</node><item-id>item-931033f3-4a44-415a-9151-f148fcf93734</item-id><entry><test>item-931033f3-4a44-415a-9151-f148fcf93734</test></entry></data> 2021-03-17 22:57:01 | 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-931033f3-4a44-415a-9151-f148fcf93734</value></item-id></result> 2021-03-17 22:57:01 | [Mutex] waiting for: [published:item:notifieditem-931033f3-4a44-415a-9151-f148fcf93734:admin@test-domain.com] 2021-03-17 22:57:01 | [Mutex] received everything. 2021-03-17 22:57:01 | [Mutex] isItemNotified: published:item:notifieditem-931033f3-4a44-415a-9151-f148fcf93734:admin@test-domain.com :: true |
retractItemsFromNodes | 0.254s |
2021-03-17 22:57:01 |
2021-03-17 22:57:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:57:01 | ------------------------------------ 2021-03-17 22:57:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-43990122-d0da-44ec-bd42-cc34cdbebf46</node><item-id>item-931033f3-4a44-415a-9151-f148fcf93734</item-id></data> 2021-03-17 22:57:02 | 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-931033f3-4a44-415a-9151-f148fcf93734</value></item-id></result> 2021-03-17 22:57:02 | [Mutex] received everything. 2021-03-17 22:57:02 | [Mutex] isItemNotified: retracted:item:notifieditem-931033f3-4a44-415a-9151-f148fcf93734:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2021-03-17 22:57:01 |
2021-03-17 22:57:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:57:01 | ------------------------------------ 2021-03-17 22:57:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-43990122-d0da-44ec-bd42-cc34cdbebf46</node><item-id>item-931033f3-4a44-415a-9151-f148fcf93734</item-id></data> 2021-03-17 22:57:01 | 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-43990122-d0da-44ec-bd42-cc34cdbebf46</value></node><item-id label="Item ID" type="text-single"><value>item-931033f3-4a44-415a-9151-f148fcf93734</value></item-id><item label="Item" type="text-multi"><value><item id="item-931033f3-4a44-415a-9151-f148fcf93734"><test>item-931033f3-4a44-415a-9151-f148fcf93734</test></item></value></item></result> 2021-03-17 22:57:01 | [Mutex] notify: [retrieved:item:item-931033f3-4a44-415a-9151-f148fcf93734:payload-matches:true:localhost] 2021-03-17 22:57:01 | [Mutex] received everything. 2021-03-17 22:57:01 | [Mutex] isItemNotified: retrieved:item:item-931033f3-4a44-415a-9151-f148fcf93734:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.059s |
2021-03-17 22:57:01 |
2021-03-17 22:57:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:57:01 | ------------------------------------ 2021-03-17 22:57:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-17 22:57:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-43990122-d0da-44ec-bd42-cc34cdbebf46</value><value>node-12204e07-b4e8-4399-8a73-20a72f29179b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2021-03-17 22:57:01 |
2021-03-17 22:57:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:57:01 | ------------------------------------ 2021-03-17 22:57:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-43990122-d0da-44ec-bd42-cc34cdbebf46)</node-pattern></data> 2021-03-17 22:57:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.132s |
2021-03-17 22:57:00 |
2021-03-17 22:57:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:57:00 | ------------------------------------ 2021-03-17 22:57:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-43990122-d0da-44ec-bd42-cc34cdbebf46</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-17 22:57: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.361s |
2021-03-17 22:57:02 |
2021-03-17 22:57:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-17 22:57:02 | ------------------------------------ 2021-03-17 22:57:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-43990122-d0da-44ec-bd42-cc34cdbebf46</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-17 22:57:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |