Generated by TestNG with ReportNG at 21:43 PST on Tuesday 03 November 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.319s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.716s
2020-11-03 21:58:51 |

2020-11-03 21:58:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-03 21:58:51 | ------------------------------------

2020-11-03 21:58:51 | [Mutex] isItemNotified: node_6mfaf70203:exists :: false

2020-11-03 21:58:51 | [Mutex] waiting for: [node_6mfaf70203:create_node]

2020-11-03 21:58:51 | [Mutex] received everything.

2020-11-03 21:58:51 | [Mutex] isItemNotified: node_6mfaf70203:create_node:success :: true

2020-11-03 21:58:51 | [Mutex] waiting for: [node_6mfaf70203:subscribe_node]

2020-11-03 21:58:51 | [Mutex] waiting for: [node_6mfaf70203:subscribe_node]

2020-11-03 21:58:51 | [Mutex] received everything.

2020-11-03 21:58:51 | [Mutex] isItemNotified: node_6mfaf70203:subscribe_node:success :: true

2020-11-03 21:58:51 |


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


2020-11-03 21:58:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:58:51 | command: <data><node>node_6mfaf70203</node><entry><content>content_j8zabb0204</content></entry></data>

2020-11-03 21:58:51 | target: http://localhost:8088

2020-11-03 21:58:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-03 21:58:51 | entity: <data><node>node_6mfaf70203</node><entry><content>content_j8zabb0204</content></entry></data>

2020-11-03 21:58:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:58:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:58:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a82f4ffc-3c9e-44ad-ace0-7bef96080a54</value></item-id></result>

2020-11-03 21:58:51 | contains: true

2020-11-03 21:58:51 | [Mutex] waiting for: [user_regular87hbf40202@test-domain.com:message:received:content_j8zabb0204]

2020-11-03 21:58:51 | [Mutex] received everything.

2020-11-03 21:58:51 | [Mutex] isItemNotified: user_regular87hbf40202@test-domain.com:message:received:content_j8zabb0204 :: true

2020-11-03 21:58:51 |


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


2020-11-03 21:58:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:58:51 | command: <data><node>node_6mfaf70203</node><expire-at>2020-11-04T05:58:46Z</expire-at><entry><content>content_in977d0205</content></entry></data>

2020-11-03 21:58:51 | target: http://localhost:8088

2020-11-03 21:58:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-03 21:58:51 | entity: <data><node>node_6mfaf70203</node><expire-at>2020-11-04T05:58:46Z</expire-at><entry><content>content_in977d0205</content></entry></data>

2020-11-03 21:58:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:58:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:58:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d8781115-36a8-449b-8bd6-9402c7124e3b</value></item-id></result>

2020-11-03 21:58:51 | contains: true

2020-11-03 21:58:51 | [Mutex] waiting for: [user_regular87hbf40202@test-domain.com:message:received:content_in977d0205]

2020-11-03 21:59:06 | [Mutex] timeout. Not received [user_regular87hbf40202@test-domain.com:message:received:content_in977d0205]

2020-11-03 21:59:06 | [Mutex] isItemNotified: user_regular87hbf40202@test-domain.com:message:received:content_in977d0205 :: false

2020-11-03 21:59:06 |


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


2020-11-03 21:59:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:59:06 | command: <data><node>node_6mfaf70203</node><entry><content>content_1wvuuk0206</content></entry></data>

2020-11-03 21:59:06 | target: http://localhost:8088

2020-11-03 21:59:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-03 21:59:06 | entity: <data><node>node_6mfaf70203</node><entry><content>content_1wvuuk0206</content></entry></data>

2020-11-03 21:59:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:59:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:59:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a842f063-a57c-4dd7-a4f3-e25a82f09ee4</value></item-id></result>

2020-11-03 21:59:07 | contains: true

2020-11-03 21:59:12 | [Mutex] waiting for: [user_regular87hbf40202@test-domain.com:message:received:content_1wvuuk0206]

2020-11-03 21:59:12 | [Mutex] waiting for: [user_regular87hbf40202@test-domain.com:message:received:content_1wvuuk0206]

2020-11-03 21:59:12 | [Mutex] received everything.

2020-11-03 21:59:12 | [Mutex] isItemNotified: user_regular87hbf40202@test-domain.com:message:received:content_1wvuuk0206 :: true

2020-11-03 21:59:12 |


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


2020-11-03 21:59:12 | [Mutex] received everything.

2020-11-03 21:59:12 | [Mutex] isItemNotified: node_6mfaf70203:subscribe_node:success :: true

2020-11-03 21:59:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-03 21:59:12 | command: <data><node>node_6mfaf70203</node><expire-at>2020-11-04T05:59:17Z</expire-at><entry><content>content_5b31i50207</content></entry></data>

2020-11-03 21:59:12 | target: http://localhost:8088

2020-11-03 21:59:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-03 21:59:12 | entity: <data><node>node_6mfaf70203</node><expire-at>2020-11-04T05:59:17Z</expire-at><entry><content>content_5b31i50207</content></entry></data>

2020-11-03 21:59:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:59:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-03 21:59:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6d50f20f-e7b0-4782-90f1-b1d2b8b4781c</value></item-id></result>

2020-11-03 21:59:12 | contains: true

2020-11-03 21:59:20 | [Mutex] waiting for: [user_regular87hbf40202@test-domain.com:message:received:content_5b31i50207]

2020-11-03 21:59:20 | [Mutex] waiting for: [user_regular87hbf40202@test-domain.com:message:received:content_5b31i50207]

2020-11-03 21:59:35 | [Mutex] timeout. Not received [user_regular87hbf40202@test-domain.com:message:received:content_5b31i50207]

2020-11-03 21:59:35 | [Mutex] received everything.

2020-11-03 21:59:35 | [Mutex] isItemNotified: user_regular87hbf40202@test-domain.com:message:received:content_5b31i50207 :: false

2020-11-03 21:59:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5b31i50207 :: true