Generated by TestNG with ReportNG at 23:01 PDT on Monday 21 September 2020
root@b34f6c1e9012 / 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 : 9.928s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2020-09-21 23:14:54 |

2020-09-21 23:14:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:54 | ------------------------------------

2020-09-21 23:14:54 | [Mutex] waiting for: [configured:node:node-a328fed4-7721-4c9a-b02b-33ccb413fa13:node-518963e2-588d-4973-9d28-15d0d5a3c0f3]

2020-09-21 23:14:54 | [Mutex] received everything.

2020-09-21 23:14:54 | [Mutex] isItemNotified: configured:node:node-a328fed4-7721-4c9a-b02b-33ccb413fa13:node-518963e2-588d-4973-9d28-15d0d5a3c0f3 :: true

2020-09-21 23:14:55 | [Mutex] waiting for: [received:nodes:198b9e1f-dbdd-4d9c-a504-63c7ac98c8d1:localhost]

2020-09-21 23:14:55 | [Mutex] received everything.

2020-09-21 23:14:55 | [Mutex] isItemNotified: received:node:198b9e1f-dbdd-4d9c-a504-63c7ac98c8d1:localhost:node-a328fed4-7721-4c9a-b02b-33ccb413fa13:Node a328fed4-7721-4c9a-b02b-33ccb413fa13 :: true

2020-09-21 23:14:55 | [Mutex] waiting for: [received:nodes:0b585378-6263-4af2-9875-25ad03afbd2a:localhost]

2020-09-21 23:14:55 | [Mutex] received everything.

2020-09-21 23:14:55 | [Mutex] isItemNotified: received:node:0b585378-6263-4af2-9875-25ad03afbd2a:localhost:node-a328fed4-7721-4c9a-b02b-33ccb413fa13:Node a328fed4-7721-4c9a-b02b-33ccb413fa13 :: false

createNodes 1.428s
2020-09-21 23:14:52 |

2020-09-21 23:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:52 | ------------------------------------

2020-09-21 23:14:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a328fed4-7721-4c9a-b02b-33ccb413fa13</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a328fed4-7721-4c9a-b02b-33ccb413fa13</title></pubsub></data>

2020-09-21 23:14:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-21 23:14:53 | [Mutex] waiting for: [received:nodes:4a31db8b-e1a6-4830-9c04-4f6830b986db:localhost]

2020-09-21 23:14:53 | [Mutex] received everything.

2020-09-21 23:14:53 | [Mutex] isItemNotified: received:node:4a31db8b-e1a6-4830-9c04-4f6830b986db:localhost:node-a328fed4-7721-4c9a-b02b-33ccb413fa13:Node a328fed4-7721-4c9a-b02b-33ccb413fa13 :: true

createSubnodes 1.031s
2020-09-21 23:14:53 |

2020-09-21 23:14:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:53 | ------------------------------------

2020-09-21 23:14:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-518963e2-588d-4973-9d28-15d0d5a3c0f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 518963e2-588d-4973-9d28-15d0d5a3c0f3</title></pubsub></data>

2020-09-21 23:14:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-21 23:14:54 | [Mutex] waiting for: [received:nodes:be618e07-e1ee-4a08-b5a8-f68631448965:localhost]

2020-09-21 23:14:54 | [Mutex] received everything.

2020-09-21 23:14:54 | [Mutex] isItemNotified: received:node:be618e07-e1ee-4a08-b5a8-f68631448965:localhost:node-518963e2-588d-4973-9d28-15d0d5a3c0f3:Node 518963e2-588d-4973-9d28-15d0d5a3c0f3 :: true

deleteNodes 1.020s
2020-09-21 23:15:00 |

2020-09-21 23:15:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:15:00 | ------------------------------------

2020-09-21 23:15:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-518963e2-588d-4973-9d28-15d0d5a3c0f3</node></data>

2020-09-21 23:15:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-21 23:15:01 | [Mutex] waiting for: [received:nodes:c8c303aa-002f-4b27-98ad-1d2d5dcd243b:localhost]

2020-09-21 23:15:01 | [Mutex] received everything.

2020-09-21 23:15:01 | [Mutex] isItemNotified: received:node:c8c303aa-002f-4b27-98ad-1d2d5dcd243b:localhost:node-518963e2-588d-4973-9d28-15d0d5a3c0f3:Node 518963e2-588d-4973-9d28-15d0d5a3c0f3 :: false

deleteSubnodes 1.156s
2020-09-21 23:14:58 |

2020-09-21 23:14:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:58 | ------------------------------------

2020-09-21 23:14:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a328fed4-7721-4c9a-b02b-33ccb413fa13</node></data>

2020-09-21 23:14:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-21 23:15:00 | [Mutex] waiting for: [received:nodes:42d9f54f-d8ef-49d9-b44b-c143b9fa31cf:localhost]

2020-09-21 23:15:00 | [Mutex] waiting for: [received:nodes:42d9f54f-d8ef-49d9-b44b-c143b9fa31cf:localhost]

2020-09-21 23:15:00 | [Mutex] waiting for: [received:nodes:42d9f54f-d8ef-49d9-b44b-c143b9fa31cf:localhost]

2020-09-21 23:15:00 | [Mutex] received everything.

2020-09-21 23:15:00 | [Mutex] isItemNotified: received:node:42d9f54f-d8ef-49d9-b44b-c143b9fa31cf:localhost:node-a328fed4-7721-4c9a-b02b-33ccb413fa13:Node a328fed4-7721-4c9a-b02b-33ccb413fa13 :: false

2020-09-21 23:15:00 | [Mutex] waiting for: [received:nodes:823b70b9-b341-4df0-a2a4-417276d55316:localhost]

2020-09-21 23:15:00 | [Mutex] received everything.

2020-09-21 23:15:00 | [Mutex] isItemNotified: received:node:823b70b9-b341-4df0-a2a4-417276d55316:localhost:node-a328fed4-7721-4c9a-b02b-33ccb413fa13:Node a328fed4-7721-4c9a-b02b-33ccb413fa13 :: false

publishItemsToNodes 0.231s
2020-09-21 23:14:56 |

2020-09-21 23:14:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:56 | ------------------------------------

2020-09-21 23:14:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-a328fed4-7721-4c9a-b02b-33ccb413fa13</node><item-id>item-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca</item-id><entry><test>item-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca</test></entry></data>

2020-09-21 23:14:57 | 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-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca</value></item-id></result>

2020-09-21 23:14:57 | [Mutex] received everything.

2020-09-21 23:14:57 | [Mutex] isItemNotified: published:item:notifieditem-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca:admin@test-domain.com :: true

retractItemsFromNodes 0.152s
2020-09-21 23:14:57 |

2020-09-21 23:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:57 | ------------------------------------

2020-09-21 23:14:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-a328fed4-7721-4c9a-b02b-33ccb413fa13</node><item-id>item-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca</item-id></data>

2020-09-21 23:14:57 | 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-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca</value></item-id></result>

2020-09-21 23:14:57 | [Mutex] received everything.

2020-09-21 23:14:57 | [Mutex] isItemNotified: retracted:item:notifieditem-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca:admin@test-domain.com :: true

retrieveItemsFromNodes 0.214s
2020-09-21 23:14:57 |

2020-09-21 23:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:57 | ------------------------------------

2020-09-21 23:14:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-a328fed4-7721-4c9a-b02b-33ccb413fa13</node><item-id>item-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca</item-id></data>

2020-09-21 23:14:57 | 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-a328fed4-7721-4c9a-b02b-33ccb413fa13</value></node><item-id type="text-single" label="Item ID"><value>item-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca</value></item-id><item type="text-multi" label="Item"><value><item id="item-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca"><test>item-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca</test></item></value></item></result>

2020-09-21 23:14:57 | [Mutex] notify: [retrieved:item:item-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca:payload-matches:true:localhost]

2020-09-21 23:14:57 | [Mutex] received everything.

2020-09-21 23:14:57 | [Mutex] isItemNotified: retrieved:item:item-3f9fbdae-1d04-4624-bc47-0bcc92aea3ca:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2020-09-21 23:14:57 |

2020-09-21 23:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:57 | ------------------------------------

2020-09-21 23:14:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-21 23:14:57 | 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-a328fed4-7721-4c9a-b02b-33ccb413fa13</value><value>node-518963e2-588d-4973-9d28-15d0d5a3c0f3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-09-21 23:14:57 |

2020-09-21 23:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:57 | ------------------------------------

2020-09-21 23:14:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a328fed4-7721-4c9a-b02b-33ccb413fa13)</node-pattern></data>

2020-09-21 23:14:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.138s
2020-09-21 23:14:55 |

2020-09-21 23:14:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:55 | ------------------------------------

2020-09-21 23:14:55 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-a328fed4-7721-4c9a-b02b-33ccb413fa13</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-21 23:14:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.303s
2020-09-21 23:14:57 |

2020-09-21 23:14:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 23:14:57 | ------------------------------------

2020-09-21 23:14:57 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-a328fed4-7721-4c9a-b02b-33ccb413fa13</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-21 23:14:57 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>