Generated by TestNG with ReportNG at 22:46 PDT on Friday 09 October 2020
root@87f6aca6b6f2 / 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.632s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2020-10-09 23:03:14 |

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

2020-10-09 23:03:14 | ------------------------------------

2020-10-09 23:03:14 | [Mutex] waiting for: [configured:node:node-d1fe7d5d-4068-40f8-a7da-64528467db58:node-e9502c08-760f-4b49-a842-8827951be126]

2020-10-09 23:03:14 | [Mutex] received everything.

2020-10-09 23:03:14 | [Mutex] isItemNotified: configured:node:node-d1fe7d5d-4068-40f8-a7da-64528467db58:node-e9502c08-760f-4b49-a842-8827951be126 :: true

2020-10-09 23:03:15 | [Mutex] waiting for: [received:nodes:7ddaa518-5294-48ee-b514-187fcf4516e9:localhost]

2020-10-09 23:03:15 | [Mutex] received everything.

2020-10-09 23:03:15 | [Mutex] isItemNotified: received:node:7ddaa518-5294-48ee-b514-187fcf4516e9:localhost:node-d1fe7d5d-4068-40f8-a7da-64528467db58:Node d1fe7d5d-4068-40f8-a7da-64528467db58 :: true

2020-10-09 23:03:15 | [Mutex] waiting for: [received:nodes:8b42c370-2739-4169-b400-7287dc93abfe:localhost]

2020-10-09 23:03:15 | [Mutex] waiting for: [received:nodes:8b42c370-2739-4169-b400-7287dc93abfe:localhost]

2020-10-09 23:03:15 | [Mutex] waiting for: [received:nodes:8b42c370-2739-4169-b400-7287dc93abfe:localhost]

2020-10-09 23:03:15 | [Mutex] received everything.

2020-10-09 23:03:15 | [Mutex] isItemNotified: received:node:8b42c370-2739-4169-b400-7287dc93abfe:localhost:node-d1fe7d5d-4068-40f8-a7da-64528467db58:Node d1fe7d5d-4068-40f8-a7da-64528467db58 :: false

createNodes 1.589s
2020-10-09 23:03:11 |

2020-10-09 23:03:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:11 | ------------------------------------

2020-10-09 23:03:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d1fe7d5d-4068-40f8-a7da-64528467db58</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d1fe7d5d-4068-40f8-a7da-64528467db58</title></pubsub></data>

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

2020-10-09 23:03:13 | [Mutex] waiting for: [received:nodes:d9999552-dacf-49da-8c4d-274b4998ce61:localhost]

2020-10-09 23:03:13 | [Mutex] received everything.

2020-10-09 23:03:13 | [Mutex] isItemNotified: received:node:d9999552-dacf-49da-8c4d-274b4998ce61:localhost:node-d1fe7d5d-4068-40f8-a7da-64528467db58:Node d1fe7d5d-4068-40f8-a7da-64528467db58 :: true

createSubnodes 1.038s
2020-10-09 23:03:13 |

2020-10-09 23:03:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:13 | ------------------------------------

2020-10-09 23:03:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e9502c08-760f-4b49-a842-8827951be126</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e9502c08-760f-4b49-a842-8827951be126</title></pubsub></data>

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

2020-10-09 23:03:14 | [Mutex] waiting for: [received:nodes:fec6ffb4-dbda-4521-a60a-96f8348578b0:localhost]

2020-10-09 23:03:14 | [Mutex] received everything.

2020-10-09 23:03:14 | [Mutex] isItemNotified: received:node:fec6ffb4-dbda-4521-a60a-96f8348578b0:localhost:node-e9502c08-760f-4b49-a842-8827951be126:Node e9502c08-760f-4b49-a842-8827951be126 :: true

deleteNodes 1.028s
2020-10-09 23:03:20 |

2020-10-09 23:03:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:20 | ------------------------------------

2020-10-09 23:03:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e9502c08-760f-4b49-a842-8827951be126</node></data>

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

2020-10-09 23:03:21 | [Mutex] waiting for: [received:nodes:a38a35b6-7e5c-44ad-a998-164a0dd41574:localhost]

2020-10-09 23:03:21 | [Mutex] waiting for: [received:nodes:a38a35b6-7e5c-44ad-a998-164a0dd41574:localhost]

2020-10-09 23:03:21 | [Mutex] received everything.

2020-10-09 23:03:21 | [Mutex] isItemNotified: received:node:a38a35b6-7e5c-44ad-a998-164a0dd41574:localhost:node-e9502c08-760f-4b49-a842-8827951be126:Node e9502c08-760f-4b49-a842-8827951be126 :: false

deleteSubnodes 1.133s
2020-10-09 23:03:19 |

2020-10-09 23:03:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:19 | ------------------------------------

2020-10-09 23:03:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d1fe7d5d-4068-40f8-a7da-64528467db58</node></data>

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

2020-10-09 23:03:20 | [Mutex] waiting for: [received:nodes:0bcf8122-7ece-4875-8205-ef8bc5c34e25:localhost]

2020-10-09 23:03:20 | [Mutex] received everything.

2020-10-09 23:03:20 | [Mutex] isItemNotified: received:node:0bcf8122-7ece-4875-8205-ef8bc5c34e25:localhost:node-d1fe7d5d-4068-40f8-a7da-64528467db58:Node d1fe7d5d-4068-40f8-a7da-64528467db58 :: false

2020-10-09 23:03:20 | [Mutex] waiting for: [received:nodes:ffecb781-b387-4dd6-b0a7-93201f2debcf:localhost]

2020-10-09 23:03:20 | [Mutex] received everything.

2020-10-09 23:03:20 | [Mutex] isItemNotified: received:node:ffecb781-b387-4dd6-b0a7-93201f2debcf:localhost:node-d1fe7d5d-4068-40f8-a7da-64528467db58:Node d1fe7d5d-4068-40f8-a7da-64528467db58 :: false

publishItemsToNodes 0.272s
2020-10-09 23:03:16 |

2020-10-09 23:03:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:16 | ------------------------------------

2020-10-09 23:03:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d1fe7d5d-4068-40f8-a7da-64528467db58</node><item-id>item-f0092fce-47ac-4041-9a58-e0ecab7985a9</item-id><entry><test>item-f0092fce-47ac-4041-9a58-e0ecab7985a9</test></entry></data>

2020-10-09 23:03:16 | 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-f0092fce-47ac-4041-9a58-e0ecab7985a9</value></item-id></result>

2020-10-09 23:03:16 | [Mutex] waiting for: [published:item:notifieditem-f0092fce-47ac-4041-9a58-e0ecab7985a9:admin@test-domain.com]

2020-10-09 23:03:17 | [Mutex] received everything.

2020-10-09 23:03:17 | [Mutex] isItemNotified: published:item:notifieditem-f0092fce-47ac-4041-9a58-e0ecab7985a9:admin@test-domain.com :: true

retractItemsFromNodes 0.338s
2020-10-09 23:03:17 |

2020-10-09 23:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:17 | ------------------------------------

2020-10-09 23:03:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d1fe7d5d-4068-40f8-a7da-64528467db58</node><item-id>item-f0092fce-47ac-4041-9a58-e0ecab7985a9</item-id></data>

2020-10-09 23:03:17 | 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-f0092fce-47ac-4041-9a58-e0ecab7985a9</value></item-id></result>

2020-10-09 23:03:17 | [Mutex] waiting for: [retracted:item:notifieditem-f0092fce-47ac-4041-9a58-e0ecab7985a9:admin@test-domain.com]

2020-10-09 23:03:17 | [Mutex] received everything.

2020-10-09 23:03:17 | [Mutex] isItemNotified: retracted:item:notifieditem-f0092fce-47ac-4041-9a58-e0ecab7985a9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.366s
2020-10-09 23:03:17 |

2020-10-09 23:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:17 | ------------------------------------

2020-10-09 23:03:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d1fe7d5d-4068-40f8-a7da-64528467db58</node><item-id>item-f0092fce-47ac-4041-9a58-e0ecab7985a9</item-id></data>

2020-10-09 23:03:17 | 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-d1fe7d5d-4068-40f8-a7da-64528467db58</value></node><item-id type="text-single" label="Item ID"><value>item-f0092fce-47ac-4041-9a58-e0ecab7985a9</value></item-id><item type="text-multi" label="Item"><value><item id="item-f0092fce-47ac-4041-9a58-e0ecab7985a9"><test>item-f0092fce-47ac-4041-9a58-e0ecab7985a9</test></item></value></item></result>

2020-10-09 23:03:17 | [Mutex] notify: [retrieved:item:item-f0092fce-47ac-4041-9a58-e0ecab7985a9:payload-matches:true:localhost]

2020-10-09 23:03:17 | [Mutex] received everything.

2020-10-09 23:03:17 | [Mutex] isItemNotified: retrieved:item:item-f0092fce-47ac-4041-9a58-e0ecab7985a9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-10-09 23:03:17 |

2020-10-09 23:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:17 | ------------------------------------

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

2020-10-09 23:03:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d1fe7d5d-4068-40f8-a7da-64528467db58</value><value>node-e9502c08-760f-4b49-a842-8827951be126</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.065s
2020-10-09 23:03:17 |

2020-10-09 23:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:17 | ------------------------------------

2020-10-09 23:03:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d1fe7d5d-4068-40f8-a7da-64528467db58)</node-pattern></data>

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

subscribeNodes 1.132s
2020-10-09 23:03:15 |

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

2020-10-09 23:03:15 | ------------------------------------

2020-10-09 23:03:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d1fe7d5d-4068-40f8-a7da-64528467db58</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.262s
2020-10-09 23:03:17 |

2020-10-09 23:03:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-09 23:03:17 | ------------------------------------

2020-10-09 23:03:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d1fe7d5d-4068-40f8-a7da-64528467db58</node><jids><value>admin@test-domain.com</value></jids></data>

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