Generated by TestNG with ReportNG at 22:20 PDT on Friday 11 September 2020
root@d0fa1cb7f0f2 / 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.197s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.652s
2020-09-11 22:34:51 |

2020-09-11 22:34:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-11 22:34:51 | ------------------------------------

2020-09-11 22:34:51 | [Mutex] isItemNotified: node_ud3xr50203:exists :: false

2020-09-11 22:34:51 | [Mutex] waiting for: [node_ud3xr50203:create_node]

2020-09-11 22:34:51 | [Mutex] received everything.

2020-09-11 22:34:51 | [Mutex] isItemNotified: node_ud3xr50203:create_node:success :: true

2020-09-11 22:34:51 | [Mutex] waiting for: [node_ud3xr50203:subscribe_node]

2020-09-11 22:34:51 | [Mutex] received everything.

2020-09-11 22:34:51 | [Mutex] isItemNotified: node_ud3xr50203:subscribe_node:success :: true

2020-09-11 22:34:51 |


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


2020-09-11 22:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-11 22:34:51 | command: <data><node>node_ud3xr50203</node><entry><content>content_e7lllz0204</content></entry></data>

2020-09-11 22:34:51 | target: http://localhost:8088

2020-09-11 22:34:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-11 22:34:51 | entity: <data><node>node_ud3xr50203</node><entry><content>content_e7lllz0204</content></entry></data>

2020-09-11 22:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-11 22:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9936b051-9694-419f-be6a-9b60651f19b2</value></item-id></result>

2020-09-11 22:34:51 | contains: true

2020-09-11 22:34:51 | [Mutex] received everything.

2020-09-11 22:34:51 | [Mutex] isItemNotified: user_regular2q08540202@test-domain.com:message:received:content_e7lllz0204 :: true

2020-09-11 22:34:51 |


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


2020-09-11 22:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-11 22:34:51 | command: <data><node>node_ud3xr50203</node><expire-at>2020-09-12T05:34:46Z</expire-at><entry><content>content_ygdjve0205</content></entry></data>

2020-09-11 22:34:51 | target: http://localhost:8088

2020-09-11 22:34:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-11 22:34:51 | entity: <data><node>node_ud3xr50203</node><expire-at>2020-09-12T05:34:46Z</expire-at><entry><content>content_ygdjve0205</content></entry></data>

2020-09-11 22:34:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:34:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-11 22:34:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e10c6def-2d22-4122-b6f7-238e48e4d505</value></item-id></result>

2020-09-11 22:34:52 | contains: true

2020-09-11 22:34:52 | [Mutex] waiting for: [user_regular2q08540202@test-domain.com:message:received:content_ygdjve0205]

2020-09-11 22:35:07 | [Mutex] timeout. Not received [user_regular2q08540202@test-domain.com:message:received:content_ygdjve0205]

2020-09-11 22:35:07 | [Mutex] isItemNotified: user_regular2q08540202@test-domain.com:message:received:content_ygdjve0205 :: false

2020-09-11 22:35:07 |


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


2020-09-11 22:35:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-11 22:35:07 | command: <data><node>node_ud3xr50203</node><entry><content>content_2yhp3m0206</content></entry></data>

2020-09-11 22:35:07 | target: http://localhost:8088

2020-09-11 22:35:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-11 22:35:07 | entity: <data><node>node_ud3xr50203</node><entry><content>content_2yhp3m0206</content></entry></data>

2020-09-11 22:35:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:35:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-11 22:35:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>deee05b3-7b3f-48fe-ba40-bb85cd84ae46</value></item-id></result>

2020-09-11 22:35:07 | contains: true

2020-09-11 22:35:12 | [Mutex] waiting for: [user_regular2q08540202@test-domain.com:message:received:content_2yhp3m0206]

2020-09-11 22:35:12 | [Mutex] received everything.

2020-09-11 22:35:12 | [Mutex] isItemNotified: user_regular2q08540202@test-domain.com:message:received:content_2yhp3m0206 :: true

2020-09-11 22:35:12 |


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


2020-09-11 22:35:12 | [Mutex] received everything.

2020-09-11 22:35:12 | [Mutex] isItemNotified: node_ud3xr50203:subscribe_node:success :: true

2020-09-11 22:35:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-11 22:35:12 | command: <data><node>node_ud3xr50203</node><expire-at>2020-09-12T05:35:17Z</expire-at><entry><content>content_t9ph3a0207</content></entry></data>

2020-09-11 22:35:12 | target: http://localhost:8088

2020-09-11 22:35:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-11 22:35:12 | entity: <data><node>node_ud3xr50203</node><expire-at>2020-09-12T05:35:17Z</expire-at><entry><content>content_t9ph3a0207</content></entry></data>

2020-09-11 22:35:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:35:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-11 22:35:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4ecf1dc1-2137-425c-ba9f-63cee36ebc7d</value></item-id></result>

2020-09-11 22:35:12 | contains: true

2020-09-11 22:35:20 | [Mutex] waiting for: [user_regular2q08540202@test-domain.com:message:received:content_t9ph3a0207]

2020-09-11 22:35:20 | [Mutex] waiting for: [user_regular2q08540202@test-domain.com:message:received:content_t9ph3a0207]

2020-09-11 22:35:35 | [Mutex] timeout. Not received [user_regular2q08540202@test-domain.com:message:received:content_t9ph3a0207]

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

2020-09-11 22:35:35 | [Mutex] isItemNotified: user_regular2q08540202@test-domain.com:message:received:content_t9ph3a0207 :: false

2020-09-11 22:35:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t9ph3a0207 :: true