Generated by TestNG with ReportNG at 23:34 PDT on Tuesday 21 September 2021
root@b2c2a8eba6e6 / 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.418s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.648s
2021-09-21 23:52:43 |

2021-09-21 23:52:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-21 23:52:43 | ------------------------------------

2021-09-21 23:52:43 | [Mutex] isItemNotified: node_dtbmv90203:exists :: false

2021-09-21 23:52:43 | [Mutex] waiting for: [node_dtbmv90203:create_node]

2021-09-21 23:52:43 | [Mutex] received everything.

2021-09-21 23:52:43 | [Mutex] isItemNotified: node_dtbmv90203:create_node:success :: true

2021-09-21 23:52:43 | [Mutex] waiting for: [node_dtbmv90203:subscribe_node]

2021-09-21 23:52:43 | [Mutex] waiting for: [node_dtbmv90203:subscribe_node]

2021-09-21 23:52:43 | [Mutex] received everything.

2021-09-21 23:52:43 | [Mutex] isItemNotified: node_dtbmv90203:subscribe_node:success :: true

2021-09-21 23:52:43 |


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


2021-09-21 23:52:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 23:52:43 | command: <data><node>node_dtbmv90203</node><entry><content>content_iuh9z70204</content></entry></data>

2021-09-21 23:52:43 | target: http://localhost:8088

2021-09-21 23:52:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 23:52:43 | entity: <data><node>node_dtbmv90203</node><entry><content>content_iuh9z70204</content></entry></data>

2021-09-21 23:52:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 06:52:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 23:52:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>faf98171-fa6c-4148-bd49-87156ac77eac</value></item-id></result>

2021-09-21 23:52:43 | contains: true

2021-09-21 23:52:43 | [Mutex] received everything.

2021-09-21 23:52:43 | [Mutex] isItemNotified: user_regulartf4qq40202@test-domain.com:message:received:content_iuh9z70204 :: true

2021-09-21 23:52:43 |


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


2021-09-21 23:52:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 23:52:43 | command: <data><node>node_dtbmv90203</node><expire-at>2021-09-22T06:52:38Z</expire-at><entry><content>content_5ps92h0205</content></entry></data>

2021-09-21 23:52:43 | target: http://localhost:8088

2021-09-21 23:52:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-21 23:52:43 | entity: <data><node>node_dtbmv90203</node><expire-at>2021-09-22T06:52:38Z</expire-at><entry><content>content_5ps92h0205</content></entry></data>

2021-09-21 23:52:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 06:52:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 23:52:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5ecfc96c-cbdd-4735-8f75-362dc221585a</value></item-id></result>

2021-09-21 23:52:43 | contains: true

2021-09-21 23:52:43 | [Mutex] waiting for: [user_regulartf4qq40202@test-domain.com:message:received:content_5ps92h0205]

2021-09-21 23:52:58 | [Mutex] timeout. Not received [user_regulartf4qq40202@test-domain.com:message:received:content_5ps92h0205]

2021-09-21 23:52:58 | [Mutex] isItemNotified: user_regulartf4qq40202@test-domain.com:message:received:content_5ps92h0205 :: false

2021-09-21 23:52:58 |


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


2021-09-21 23:52:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 23:52:58 | command: <data><node>node_dtbmv90203</node><entry><content>content_9bv1ev0206</content></entry></data>

2021-09-21 23:52:58 | target: http://localhost:8088

2021-09-21 23:52:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-21 23:52:58 | entity: <data><node>node_dtbmv90203</node><entry><content>content_9bv1ev0206</content></entry></data>

2021-09-21 23:52:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 06:52:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 23:52:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eec33a4d-4704-4691-8323-4e5c8f270930</value></item-id></result>

2021-09-21 23:52:58 | contains: true

2021-09-21 23:53:03 | [Mutex] waiting for: [user_regulartf4qq40202@test-domain.com:message:received:content_9bv1ev0206]

2021-09-21 23:53:03 | [Mutex] received everything.

2021-09-21 23:53:03 | [Mutex] isItemNotified: user_regulartf4qq40202@test-domain.com:message:received:content_9bv1ev0206 :: true

2021-09-21 23:53:03 |


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


2021-09-21 23:53:03 | [Mutex] received everything.

2021-09-21 23:53:03 | [Mutex] isItemNotified: node_dtbmv90203:subscribe_node:success :: true

2021-09-21 23:53:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-21 23:53:03 | command: <data><node>node_dtbmv90203</node><expire-at>2021-09-22T06:53:08Z</expire-at><entry><content>content_e4ypo40207</content></entry></data>

2021-09-21 23:53:03 | target: http://localhost:8088

2021-09-21 23:53:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-21 23:53:03 | entity: <data><node>node_dtbmv90203</node><expire-at>2021-09-22T06:53:08Z</expire-at><entry><content>content_e4ypo40207</content></entry></data>

2021-09-21 23:53:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Sep 2021 06:53:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-21 23:53:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>62c041cb-2c15-448f-ab5a-7e5b7d588c51</value></item-id></result>

2021-09-21 23:53:03 | contains: true

2021-09-21 23:53:11 | [Mutex] waiting for: [user_regulartf4qq40202@test-domain.com:message:received:content_e4ypo40207]

2021-09-21 23:53:26 | [Mutex] timeout. Not received [user_regulartf4qq40202@test-domain.com:message:received:content_e4ypo40207]

2021-09-21 23:53:26 | [Mutex] received everything.

2021-09-21 23:53:26 | [Mutex] isItemNotified: user_regulartf4qq40202@test-domain.com:message:received:content_e4ypo40207 :: false

2021-09-21 23:53:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e4ypo40207 :: true