Generated by TestNG with ReportNG at 21:43 PST on Thursday 26 November 2020
root@eaa73862192b / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.147s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2020-11-26 22:06:10 |

2020-11-26 22:06:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:10 | ------------------------------------

2020-11-26 22:06:10 | [Mutex] waiting for: [configured:node:node-650d0557-e0f5-47a9-8573-099ae2aa0eba:node-ae6544fb-6d9b-46a3-a677-971db8c1db43]

2020-11-26 22:06:10 | [Mutex] received everything.

2020-11-26 22:06:10 | [Mutex] isItemNotified: configured:node:node-650d0557-e0f5-47a9-8573-099ae2aa0eba:node-ae6544fb-6d9b-46a3-a677-971db8c1db43 :: true

2020-11-26 22:06:11 | [Mutex] waiting for: [received:nodes:54545fcf-bbd6-475a-b489-5b2f9e1967ed:localhost]

2020-11-26 22:06:11 | [Mutex] waiting for: [received:nodes:54545fcf-bbd6-475a-b489-5b2f9e1967ed:localhost]

2020-11-26 22:06:11 | [Mutex] received everything.

2020-11-26 22:06:11 | [Mutex] isItemNotified: received:node:54545fcf-bbd6-475a-b489-5b2f9e1967ed:localhost:node-650d0557-e0f5-47a9-8573-099ae2aa0eba:Node 650d0557-e0f5-47a9-8573-099ae2aa0eba :: true

2020-11-26 22:06:11 | [Mutex] waiting for: [received:nodes:4e5a197f-0778-4bc2-8fe6-08f4dbdbf38e:localhost]

2020-11-26 22:06:11 | [Mutex] waiting for: [received:nodes:4e5a197f-0778-4bc2-8fe6-08f4dbdbf38e:localhost]

2020-11-26 22:06:11 | [Mutex] waiting for: [received:nodes:4e5a197f-0778-4bc2-8fe6-08f4dbdbf38e:localhost]

2020-11-26 22:06:11 | [Mutex] received everything.

2020-11-26 22:06:11 | [Mutex] isItemNotified: received:node:4e5a197f-0778-4bc2-8fe6-08f4dbdbf38e:localhost:node-650d0557-e0f5-47a9-8573-099ae2aa0eba:Node 650d0557-e0f5-47a9-8573-099ae2aa0eba :: false

createNodes 1.517s
2020-11-26 22:06:07 |

2020-11-26 22:06:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:07 | ------------------------------------

2020-11-26 22:06:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-650d0557-e0f5-47a9-8573-099ae2aa0eba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 650d0557-e0f5-47a9-8573-099ae2aa0eba</title></pubsub></data>

2020-11-26 22:06:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-26 22:06:09 | [Mutex] waiting for: [received:nodes:6b93e4c3-94e0-4ef8-9586-3cee2c72f115:localhost]

2020-11-26 22:06:09 | [Mutex] received everything.

2020-11-26 22:06:09 | [Mutex] isItemNotified: received:node:6b93e4c3-94e0-4ef8-9586-3cee2c72f115:localhost:node-650d0557-e0f5-47a9-8573-099ae2aa0eba:Node 650d0557-e0f5-47a9-8573-099ae2aa0eba :: true

createSubnodes 1.024s
2020-11-26 22:06:09 |

2020-11-26 22:06:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:09 | ------------------------------------

2020-11-26 22:06:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ae6544fb-6d9b-46a3-a677-971db8c1db43</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ae6544fb-6d9b-46a3-a677-971db8c1db43</title></pubsub></data>

2020-11-26 22:06:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-26 22:06:10 | [Mutex] waiting for: [received:nodes:44fe3351-4d58-4290-b57d-2168004e637e:localhost]

2020-11-26 22:06:10 | [Mutex] received everything.

2020-11-26 22:06:10 | [Mutex] isItemNotified: received:node:44fe3351-4d58-4290-b57d-2168004e637e:localhost:node-ae6544fb-6d9b-46a3-a677-971db8c1db43:Node ae6544fb-6d9b-46a3-a677-971db8c1db43 :: true

deleteNodes 1.023s
2020-11-26 22:06:15 |

2020-11-26 22:06:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:15 | ------------------------------------

2020-11-26 22:06:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ae6544fb-6d9b-46a3-a677-971db8c1db43</node></data>

2020-11-26 22:06:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-26 22:06:16 | [Mutex] waiting for: [received:nodes:469edab6-38c7-4a16-beaf-9150ce4ade45:localhost]

2020-11-26 22:06:16 | [Mutex] received everything.

2020-11-26 22:06:16 | [Mutex] isItemNotified: received:node:469edab6-38c7-4a16-beaf-9150ce4ade45:localhost:node-ae6544fb-6d9b-46a3-a677-971db8c1db43:Node ae6544fb-6d9b-46a3-a677-971db8c1db43 :: false

deleteSubnodes 1.137s
2020-11-26 22:06:14 |

2020-11-26 22:06:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:14 | ------------------------------------

2020-11-26 22:06:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-650d0557-e0f5-47a9-8573-099ae2aa0eba</node></data>

2020-11-26 22:06:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-26 22:06:15 | [Mutex] waiting for: [received:nodes:508c0d83-9cbf-42b9-a34b-7539cb8939d1:localhost]

2020-11-26 22:06:15 | [Mutex] waiting for: [received:nodes:508c0d83-9cbf-42b9-a34b-7539cb8939d1:localhost]

2020-11-26 22:06:15 | [Mutex] received everything.

2020-11-26 22:06:15 | [Mutex] isItemNotified: received:node:508c0d83-9cbf-42b9-a34b-7539cb8939d1:localhost:node-650d0557-e0f5-47a9-8573-099ae2aa0eba:Node 650d0557-e0f5-47a9-8573-099ae2aa0eba :: false

2020-11-26 22:06:15 | [Mutex] waiting for: [received:nodes:df05ab15-d950-4996-80fb-e375b2ffcc77:localhost]

2020-11-26 22:06:15 | [Mutex] received everything.

2020-11-26 22:06:15 | [Mutex] isItemNotified: received:node:df05ab15-d950-4996-80fb-e375b2ffcc77:localhost:node-650d0557-e0f5-47a9-8573-099ae2aa0eba:Node 650d0557-e0f5-47a9-8573-099ae2aa0eba :: false

publishItemsToNodes 0.234s
2020-11-26 22:06:12 |

2020-11-26 22:06:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:12 | ------------------------------------

2020-11-26 22:06:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-650d0557-e0f5-47a9-8573-099ae2aa0eba</node><item-id>item-131ab66d-aaf1-4d4a-8920-f989c8865bb2</item-id><entry><test>item-131ab66d-aaf1-4d4a-8920-f989c8865bb2</test></entry></data>

2020-11-26 22:06:12 | 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-131ab66d-aaf1-4d4a-8920-f989c8865bb2</value></item-id></result>

2020-11-26 22:06:12 | [Mutex] waiting for: [published:item:notifieditem-131ab66d-aaf1-4d4a-8920-f989c8865bb2:admin@test-domain.com]

2020-11-26 22:06:12 | [Mutex] received everything.

2020-11-26 22:06:12 | [Mutex] isItemNotified: published:item:notifieditem-131ab66d-aaf1-4d4a-8920-f989c8865bb2:admin@test-domain.com :: true

retractItemsFromNodes 0.280s
2020-11-26 22:06:13 |

2020-11-26 22:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:13 | ------------------------------------

2020-11-26 22:06:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-650d0557-e0f5-47a9-8573-099ae2aa0eba</node><item-id>item-131ab66d-aaf1-4d4a-8920-f989c8865bb2</item-id></data>

2020-11-26 22:06:13 | 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-131ab66d-aaf1-4d4a-8920-f989c8865bb2</value></item-id></result>

2020-11-26 22:06:13 | [Mutex] received everything.

2020-11-26 22:06:13 | [Mutex] isItemNotified: retracted:item:notifieditem-131ab66d-aaf1-4d4a-8920-f989c8865bb2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.389s
2020-11-26 22:06:12 |

2020-11-26 22:06:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:12 | ------------------------------------

2020-11-26 22:06:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-650d0557-e0f5-47a9-8573-099ae2aa0eba</node><item-id>item-131ab66d-aaf1-4d4a-8920-f989c8865bb2</item-id></data>

2020-11-26 22:06:13 | 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-650d0557-e0f5-47a9-8573-099ae2aa0eba</value></node><item-id type="text-single" label="Item ID"><value>item-131ab66d-aaf1-4d4a-8920-f989c8865bb2</value></item-id><item type="text-multi" label="Item"><value><item id="item-131ab66d-aaf1-4d4a-8920-f989c8865bb2"><test>item-131ab66d-aaf1-4d4a-8920-f989c8865bb2</test></item></value></item></result>

2020-11-26 22:06:13 | [Mutex] notify: [retrieved:item:item-131ab66d-aaf1-4d4a-8920-f989c8865bb2:payload-matches:true:localhost]

2020-11-26 22:06:13 | [Mutex] received everything.

2020-11-26 22:06:13 | [Mutex] isItemNotified: retrieved:item:item-131ab66d-aaf1-4d4a-8920-f989c8865bb2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.084s
2020-11-26 22:06:13 |

2020-11-26 22:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:13 | ------------------------------------

2020-11-26 22:06:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-26 22:06:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-ae6544fb-6d9b-46a3-a677-971db8c1db43</value><value>test</value><value>node-650d0557-e0f5-47a9-8573-099ae2aa0eba</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-11-26 22:06:13 |

2020-11-26 22:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:13 | ------------------------------------

2020-11-26 22:06:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-650d0557-e0f5-47a9-8573-099ae2aa0eba)</node-pattern></data>

2020-11-26 22:06:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.095s
2020-11-26 22:06:11 |

2020-11-26 22:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:11 | ------------------------------------

2020-11-26 22:06:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-650d0557-e0f5-47a9-8573-099ae2aa0eba</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-26 22:06:11 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.275s
2020-11-26 22:06:13 |

2020-11-26 22:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-26 22:06:13 | ------------------------------------

2020-11-26 22:06:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-650d0557-e0f5-47a9-8573-099ae2aa0eba</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-26 22:06:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>