Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 20 October 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.822s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.758s
2020-10-20 22:33:30 |

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

2020-10-20 22:33:30 | ------------------------------------

2020-10-20 22:33:30 | [Mutex] isItemNotified: node_ss8edc0203:exists :: false

2020-10-20 22:33:30 | [Mutex] waiting for: [node_ss8edc0203:create_node]

2020-10-20 22:33:30 | [Mutex] received everything.

2020-10-20 22:33:30 | [Mutex] isItemNotified: node_ss8edc0203:create_node:success :: true

2020-10-20 22:33:30 | [Mutex] waiting for: [node_ss8edc0203:subscribe_node]

2020-10-20 22:33:30 | [Mutex] received everything.

2020-10-20 22:33:30 | [Mutex] isItemNotified: node_ss8edc0203:subscribe_node:success :: true

2020-10-20 22:33:30 |


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


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

2020-10-20 22:33:30 | command: <data><node>node_ss8edc0203</node><entry><content>content_8c1mcz0204</content></entry></data>

2020-10-20 22:33:30 | target: http://localhost:8088

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

2020-10-20 22:33:30 | entity: <data><node>node_ss8edc0203</node><entry><content>content_8c1mcz0204</content></entry></data>

2020-10-20 22:33:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 05:33:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 22:33:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5b63e6fa-5555-4917-981b-992a3a2255c5</value></item-id></result>

2020-10-20 22:33:30 | contains: true

2020-10-20 22:33:30 | [Mutex] received everything.

2020-10-20 22:33:30 | [Mutex] isItemNotified: user_regular22jyn70202@test-domain.com:message:received:content_8c1mcz0204 :: true

2020-10-20 22:33:30 |


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


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

2020-10-20 22:33:30 | command: <data><node>node_ss8edc0203</node><expire-at>2020-10-21T05:33:25Z</expire-at><entry><content>content_6ke3qj0205</content></entry></data>

2020-10-20 22:33:30 | target: http://localhost:8088

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

2020-10-20 22:33:30 | entity: <data><node>node_ss8edc0203</node><expire-at>2020-10-21T05:33:25Z</expire-at><entry><content>content_6ke3qj0205</content></entry></data>

2020-10-20 22:33:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 05:33:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 22:33:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7f649755-c3bb-4c9c-ae9e-f416ed22eefa</value></item-id></result>

2020-10-20 22:33:30 | contains: true

2020-10-20 22:33:30 | [Mutex] waiting for: [user_regular22jyn70202@test-domain.com:message:received:content_6ke3qj0205]

2020-10-20 22:33:45 | [Mutex] timeout. Not received [user_regular22jyn70202@test-domain.com:message:received:content_6ke3qj0205]

2020-10-20 22:33:45 | [Mutex] isItemNotified: user_regular22jyn70202@test-domain.com:message:received:content_6ke3qj0205 :: false

2020-10-20 22:33:45 |


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


2020-10-20 22:33:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 22:33:45 | command: <data><node>node_ss8edc0203</node><entry><content>content_3ww0p30206</content></entry></data>

2020-10-20 22:33:45 | target: http://localhost:8088

2020-10-20 22:33:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-20 22:33:45 | entity: <data><node>node_ss8edc0203</node><entry><content>content_3ww0p30206</content></entry></data>

2020-10-20 22:33:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 05:33:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 22:33:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>daa35378-4058-464d-8ade-07f1e29209a2</value></item-id></result>

2020-10-20 22:33:45 | contains: true

2020-10-20 22:33:50 | [Mutex] waiting for: [user_regular22jyn70202@test-domain.com:message:received:content_3ww0p30206]

2020-10-20 22:33:50 | [Mutex] received everything.

2020-10-20 22:33:50 | [Mutex] isItemNotified: user_regular22jyn70202@test-domain.com:message:received:content_3ww0p30206 :: true

2020-10-20 22:33:50 |


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


2020-10-20 22:33:50 | [Mutex] received everything.

2020-10-20 22:33:50 | [Mutex] isItemNotified: node_ss8edc0203:subscribe_node:success :: true

2020-10-20 22:33:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-20 22:33:50 | command: <data><node>node_ss8edc0203</node><expire-at>2020-10-21T05:33:55Z</expire-at><entry><content>content_v66pmh0207</content></entry></data>

2020-10-20 22:33:50 | target: http://localhost:8088

2020-10-20 22:33:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-20 22:33:50 | entity: <data><node>node_ss8edc0203</node><expire-at>2020-10-21T05:33:55Z</expire-at><entry><content>content_v66pmh0207</content></entry></data>

2020-10-20 22:33:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Oct 2020 05:33:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-20 22:33:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9507dd92-5cde-46d0-b968-406d3fef83b1</value></item-id></result>

2020-10-20 22:33:50 | contains: true

2020-10-20 22:33:58 | [Mutex] waiting for: [user_regular22jyn70202@test-domain.com:message:received:content_v66pmh0207]

2020-10-20 22:34:13 | [Mutex] timeout. Not received [user_regular22jyn70202@test-domain.com:message:received:content_v66pmh0207]

2020-10-20 22:34:13 | [Mutex] received everything.

2020-10-20 22:34:13 | [Mutex] isItemNotified: user_regular22jyn70202@test-domain.com:message:received:content_v66pmh0207 :: false

2020-10-20 22:34:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_v66pmh0207 :: true