Generated by TestNG with ReportNG at 22:15 PDT on Thursday 01 October 2020
root@eaa73862192b / 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.209s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.756s
2020-10-01 22:30:52 |

2020-10-01 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-01 22:30:52 | ------------------------------------

2020-10-01 22:30:52 | [Mutex] isItemNotified: node_uxzpr80203:exists :: false

2020-10-01 22:30:52 | [Mutex] waiting for: [node_uxzpr80203:create_node]

2020-10-01 22:30:52 | [Mutex] received everything.

2020-10-01 22:30:52 | [Mutex] isItemNotified: node_uxzpr80203:create_node:success :: true

2020-10-01 22:30:52 | [Mutex] waiting for: [node_uxzpr80203:subscribe_node]

2020-10-01 22:30:52 | [Mutex] waiting for: [node_uxzpr80203:subscribe_node]

2020-10-01 22:30:52 | [Mutex] received everything.

2020-10-01 22:30:52 | [Mutex] isItemNotified: node_uxzpr80203:subscribe_node:success :: true

2020-10-01 22:30:52 |


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


2020-10-01 22:30:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-01 22:30:52 | command: <data><node>node_uxzpr80203</node><entry><content>content_xeojra0204</content></entry></data>

2020-10-01 22:30:52 | target: http://localhost:8088

2020-10-01 22:30:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-01 22:30:52 | entity: <data><node>node_uxzpr80203</node><entry><content>content_xeojra0204</content></entry></data>

2020-10-01 22:30:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:30:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-01 22:30:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8e87c665-db5e-4cf4-833b-7c8bbaa1c838</value></item-id></result>

2020-10-01 22:30:52 | contains: true

2020-10-01 22:30:52 | [Mutex] received everything.

2020-10-01 22:30:52 | [Mutex] isItemNotified: user_regulart14njc0202@test-domain.com:message:received:content_xeojra0204 :: true

2020-10-01 22:30:52 |


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


2020-10-01 22:30:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-01 22:30:52 | command: <data><node>node_uxzpr80203</node><expire-at>2020-10-02T05:30:47Z</expire-at><entry><content>content_u281y20205</content></entry></data>

2020-10-01 22:30:52 | target: http://localhost:8088

2020-10-01 22:30:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-01 22:30:52 | entity: <data><node>node_uxzpr80203</node><expire-at>2020-10-02T05:30:47Z</expire-at><entry><content>content_u281y20205</content></entry></data>

2020-10-01 22:30:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:30:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-01 22:30:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c6020618-34a7-45f7-b10a-8d8ac8eaf591</value></item-id></result>

2020-10-01 22:30:52 | contains: true

2020-10-01 22:30:52 | [Mutex] waiting for: [user_regulart14njc0202@test-domain.com:message:received:content_u281y20205]

2020-10-01 22:31:07 | [Mutex] timeout. Not received [user_regulart14njc0202@test-domain.com:message:received:content_u281y20205]

2020-10-01 22:31:07 | [Mutex] isItemNotified: user_regulart14njc0202@test-domain.com:message:received:content_u281y20205 :: false

2020-10-01 22:31:07 |


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


2020-10-01 22:31:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-01 22:31:07 | command: <data><node>node_uxzpr80203</node><entry><content>content_pvmr260206</content></entry></data>

2020-10-01 22:31:07 | target: http://localhost:8088

2020-10-01 22:31:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-01 22:31:07 | entity: <data><node>node_uxzpr80203</node><entry><content>content_pvmr260206</content></entry></data>

2020-10-01 22:31:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:31:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-01 22:31:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1393b655-dcb4-4a78-ba5b-7b3b3e7f3fcd</value></item-id></result>

2020-10-01 22:31:07 | contains: true

2020-10-01 22:31:12 | [Mutex] received everything.

2020-10-01 22:31:12 | [Mutex] isItemNotified: user_regulart14njc0202@test-domain.com:message:received:content_pvmr260206 :: true

2020-10-01 22:31:12 |


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


2020-10-01 22:31:12 | [Mutex] received everything.

2020-10-01 22:31:12 | [Mutex] isItemNotified: node_uxzpr80203:subscribe_node:success :: true

2020-10-01 22:31:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-01 22:31:12 | command: <data><node>node_uxzpr80203</node><expire-at>2020-10-02T05:31:17Z</expire-at><entry><content>content_126wb0207</content></entry></data>

2020-10-01 22:31:12 | target: http://localhost:8088

2020-10-01 22:31:12 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2020-10-01 22:31:12 | entity: <data><node>node_uxzpr80203</node><expire-at>2020-10-02T05:31:17Z</expire-at><entry><content>content_126wb0207</content></entry></data>

2020-10-01 22:31:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:31:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-01 22:31:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c6d3992b-40fb-445f-a200-a0473a2e27dc</value></item-id></result>

2020-10-01 22:31:12 | contains: true

2020-10-01 22:31:21 | [Mutex] waiting for: [user_regulart14njc0202@test-domain.com:message:received:content_126wb0207]

2020-10-01 22:31:36 | [Mutex] timeout. Not received [user_regulart14njc0202@test-domain.com:message:received:content_126wb0207]

2020-10-01 22:31:36 | [Mutex] received everything.

2020-10-01 22:31:36 | [Mutex] isItemNotified: user_regulart14njc0202@test-domain.com:message:received:content_126wb0207 :: false

2020-10-01 22:31:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_126wb0207 :: true