Generated by TestNG with ReportNG at 21:42 PST on Wednesday 11 November 2020
root@87f6aca6b6f2 / 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.597s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.771s
2020-11-11 21:59:49 |

2020-11-11 21:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-11 21:59:49 | ------------------------------------

2020-11-11 21:59:49 | [Mutex] isItemNotified: node_hpwsis0203:exists :: false

2020-11-11 21:59:49 | [Mutex] waiting for: [node_hpwsis0203:create_node]

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

2020-11-11 21:59:49 | [Mutex] isItemNotified: node_hpwsis0203:create_node:success :: true

2020-11-11 21:59:49 | [Mutex] waiting for: [node_hpwsis0203:subscribe_node]

2020-11-11 21:59:49 | [Mutex] waiting for: [node_hpwsis0203:subscribe_node]

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

2020-11-11 21:59:49 | [Mutex] isItemNotified: node_hpwsis0203:subscribe_node:success :: true

2020-11-11 21:59:49 |


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


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

2020-11-11 21:59:49 | command: <data><node>node_hpwsis0203</node><entry><content>content_d0y4db0204</content></entry></data>

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

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

2020-11-11 21:59:49 | entity: <data><node>node_hpwsis0203</node><entry><content>content_d0y4db0204</content></entry></data>

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

2020-11-11 21:59:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>968994a2-d401-4ce3-81ce-25eaa16c3b3f</value></item-id></result>

2020-11-11 21:59:49 | contains: true

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

2020-11-11 21:59:49 | [Mutex] isItemNotified: user_regularu9isr90202@test-domain.com:message:received:content_d0y4db0204 :: true

2020-11-11 21:59:49 |


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


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

2020-11-11 21:59:49 | command: <data><node>node_hpwsis0203</node><expire-at>2020-11-12T05:59:44Z</expire-at><entry><content>content_ovxxnu0205</content></entry></data>

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

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

2020-11-11 21:59:49 | entity: <data><node>node_hpwsis0203</node><expire-at>2020-11-12T05:59:44Z</expire-at><entry><content>content_ovxxnu0205</content></entry></data>

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

2020-11-11 21:59:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a9e570c8-80d4-44c2-9a46-a46f95cfaf59</value></item-id></result>

2020-11-11 21:59:49 | contains: true

2020-11-11 21:59:49 | [Mutex] waiting for: [user_regularu9isr90202@test-domain.com:message:received:content_ovxxnu0205]

2020-11-11 22:00:04 | [Mutex] timeout. Not received [user_regularu9isr90202@test-domain.com:message:received:content_ovxxnu0205]

2020-11-11 22:00:04 | [Mutex] isItemNotified: user_regularu9isr90202@test-domain.com:message:received:content_ovxxnu0205 :: false

2020-11-11 22:00:04 |


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


2020-11-11 22:00:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-11 22:00:04 | command: <data><node>node_hpwsis0203</node><entry><content>content_1ht8lc0206</content></entry></data>

2020-11-11 22:00:04 | target: http://localhost:8088

2020-11-11 22:00:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-11 22:00:04 | entity: <data><node>node_hpwsis0203</node><entry><content>content_1ht8lc0206</content></entry></data>

2020-11-11 22:00:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 06:00:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-11 22:00:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9b7c8d85-77c2-447a-a9d2-a0038e582f3f</value></item-id></result>

2020-11-11 22:00:04 | contains: true

2020-11-11 22:00:10 | [Mutex] waiting for: [user_regularu9isr90202@test-domain.com:message:received:content_1ht8lc0206]

2020-11-11 22:00:10 | [Mutex] received everything.

2020-11-11 22:00:10 | [Mutex] isItemNotified: user_regularu9isr90202@test-domain.com:message:received:content_1ht8lc0206 :: true

2020-11-11 22:00:10 |


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


2020-11-11 22:00:10 | [Mutex] received everything.

2020-11-11 22:00:10 | [Mutex] isItemNotified: node_hpwsis0203:subscribe_node:success :: true

2020-11-11 22:00:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-11 22:00:10 | command: <data><node>node_hpwsis0203</node><expire-at>2020-11-12T06:00:15Z</expire-at><entry><content>content_2nsano0207</content></entry></data>

2020-11-11 22:00:10 | target: http://localhost:8088

2020-11-11 22:00:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-11 22:00:10 | entity: <data><node>node_hpwsis0203</node><expire-at>2020-11-12T06:00:15Z</expire-at><entry><content>content_2nsano0207</content></entry></data>

2020-11-11 22:00:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 06:00:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-11 22:00:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ec72d485-e613-402c-b5c1-4845b06bde26</value></item-id></result>

2020-11-11 22:00:10 | contains: true

2020-11-11 22:00:18 | [Mutex] waiting for: [user_regularu9isr90202@test-domain.com:message:received:content_2nsano0207]

2020-11-11 22:00:18 | [Mutex] waiting for: [user_regularu9isr90202@test-domain.com:message:received:content_2nsano0207]

2020-11-11 22:00:33 | [Mutex] timeout. Not received [user_regularu9isr90202@test-domain.com:message:received:content_2nsano0207]

2020-11-11 22:00:33 | [Mutex] received everything.

2020-11-11 22:00:33 | [Mutex] isItemNotified: user_regularu9isr90202@test-domain.com:message:received:content_2nsano0207 :: false

2020-11-11 22:00:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2nsano0207 :: true