Generated by TestNG with ReportNG at 18:37 PDT on Tuesday 01 September 2020
root@45eef7750236 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.411s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.734s
2020-09-01 18:53:27 |

2020-09-01 18:53:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-01 18:53:27 | ------------------------------------

2020-09-01 18:53:27 | [Mutex] isItemNotified: node_ma53xa0203:exists :: false

2020-09-01 18:53:27 | [Mutex] waiting for: [node_ma53xa0203:create_node]

2020-09-01 18:53:27 | [Mutex] received everything.

2020-09-01 18:53:27 | [Mutex] isItemNotified: node_ma53xa0203:create_node:success :: true

2020-09-01 18:53:27 | [Mutex] waiting for: [node_ma53xa0203:subscribe_node]

2020-09-01 18:53:27 | [Mutex] waiting for: [node_ma53xa0203:subscribe_node]

2020-09-01 18:53:27 | [Mutex] received everything.

2020-09-01 18:53:27 | [Mutex] isItemNotified: node_ma53xa0203:subscribe_node:success :: true

2020-09-01 18:53:27 |


===== publishing normal message (to online)


2020-09-01 18:53:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 18:53:27 | command: <data><node>node_ma53xa0203</node><entry><content>content_6xnzag0204</content></entry></data>

2020-09-01 18:53:27 | target: http://localhost:8088

2020-09-01 18:53:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-01 18:53:27 | entity: <data><node>node_ma53xa0203</node><entry><content>content_6xnzag0204</content></entry></data>

2020-09-01 18:53:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 01:53:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 18:53:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b5ec4735-c439-44ea-b13a-39f77c1cea7e</value></item-id></result>

2020-09-01 18:53:27 | contains: true

2020-09-01 18:53:27 | [Mutex] received everything.

2020-09-01 18:53:27 | [Mutex] isItemNotified: user_regularhznt9j0202@test-domain.com:message:received:content_6xnzag0204 :: true

2020-09-01 18:53:27 |


===== publishing already old message - expecting message being filtered out (to online)


2020-09-01 18:53:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 18:53:27 | command: <data><node>node_ma53xa0203</node><expire-at>2020-09-02T01:53:22Z</expire-at><entry><content>content_nbxe280205</content></entry></data>

2020-09-01 18:53:27 | target: http://localhost:8088

2020-09-01 18:53:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-01 18:53:27 | entity: <data><node>node_ma53xa0203</node><expire-at>2020-09-02T01:53:22Z</expire-at><entry><content>content_nbxe280205</content></entry></data>

2020-09-01 18:53:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 01:53:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 18:53:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c88c56f8-e050-4803-8ce0-e064fc580d57</value></item-id></result>

2020-09-01 18:53:27 | contains: true

2020-09-01 18:53:27 | [Mutex] waiting for: [user_regularhznt9j0202@test-domain.com:message:received:content_nbxe280205]

2020-09-01 18:53:42 | [Mutex] timeout. Not received [user_regularhznt9j0202@test-domain.com:message:received:content_nbxe280205]

2020-09-01 18:53:42 | [Mutex] isItemNotified: user_regularhznt9j0202@test-domain.com:message:received:content_nbxe280205 :: false

2020-09-01 18:53:42 |


===== publishing normal message (to offline)


2020-09-01 18:53:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 18:53:42 | command: <data><node>node_ma53xa0203</node><entry><content>content_5j8mzr0206</content></entry></data>

2020-09-01 18:53:42 | target: http://localhost:8088

2020-09-01 18:53:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-01 18:53:42 | entity: <data><node>node_ma53xa0203</node><entry><content>content_5j8mzr0206</content></entry></data>

2020-09-01 18:53:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 01:53:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 18:53:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e892f01e-fac6-4d08-8b39-31c7ebad5a2b</value></item-id></result>

2020-09-01 18:53:42 | contains: true

2020-09-01 18:53:48 | [Mutex] waiting for: [user_regularhznt9j0202@test-domain.com:message:received:content_5j8mzr0206]

2020-09-01 18:53:48 | [Mutex] waiting for: [user_regularhznt9j0202@test-domain.com:message:received:content_5j8mzr0206]

2020-09-01 18:53:48 | [Mutex] received everything.

2020-09-01 18:53:48 | [Mutex] isItemNotified: user_regularhznt9j0202@test-domain.com:message:received:content_5j8mzr0206 :: true

2020-09-01 18:53:48 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-09-01 18:53:48 | [Mutex] received everything.

2020-09-01 18:53:48 | [Mutex] isItemNotified: node_ma53xa0203:subscribe_node:success :: true

2020-09-01 18:53:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-01 18:53:48 | command: <data><node>node_ma53xa0203</node><expire-at>2020-09-02T01:53:53Z</expire-at><entry><content>content_92dl2x0207</content></entry></data>

2020-09-01 18:53:48 | target: http://localhost:8088

2020-09-01 18:53:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-01 18:53:48 | entity: <data><node>node_ma53xa0203</node><expire-at>2020-09-02T01:53:53Z</expire-at><entry><content>content_92dl2x0207</content></entry></data>

2020-09-01 18:53:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 01:53:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-01 18:53:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>251fc4f4-9575-493a-967a-846fb41907e1</value></item-id></result>

2020-09-01 18:53:48 | contains: true

2020-09-01 18:53:56 | [Mutex] waiting for: [user_regularhznt9j0202@test-domain.com:message:received:content_92dl2x0207]

2020-09-01 18:54:11 | [Mutex] timeout. Not received [user_regularhznt9j0202@test-domain.com:message:received:content_92dl2x0207]

2020-09-01 18:54:11 | [Mutex] received everything.

2020-09-01 18:54:11 | [Mutex] isItemNotified: user_regularhznt9j0202@test-domain.com:message:received:content_92dl2x0207 :: false

2020-09-01 18:54:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_92dl2x0207 :: true