Generated by TestNG with ReportNG at 22:41 PDT on Thursday 29 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.869s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.882s
2020-10-29 23:00:08 |

2020-10-29 23:00:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-29 23:00:08 | ------------------------------------

2020-10-29 23:00:08 | [Mutex] isItemNotified: node_i92rm80203:exists :: false

2020-10-29 23:00:08 | [Mutex] waiting for: [node_i92rm80203:create_node]

2020-10-29 23:00:08 | [Mutex] received everything.

2020-10-29 23:00:08 | [Mutex] isItemNotified: node_i92rm80203:create_node:success :: true

2020-10-29 23:00:08 | [Mutex] waiting for: [node_i92rm80203:subscribe_node]

2020-10-29 23:00:08 | [Mutex] received everything.

2020-10-29 23:00:08 | [Mutex] isItemNotified: node_i92rm80203:subscribe_node:success :: true

2020-10-29 23:00:08 |


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


2020-10-29 23:00:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-29 23:00:08 | command: <data><node>node_i92rm80203</node><entry><content>content_fo44gh0204</content></entry></data>

2020-10-29 23:00:08 | target: http://localhost:8088

2020-10-29 23:00:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-29 23:00:08 | entity: <data><node>node_i92rm80203</node><entry><content>content_fo44gh0204</content></entry></data>

2020-10-29 23:00:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 06:00:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-29 23:00:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d15d60e8-9b79-4f91-b4e5-48496044f94f</value></item-id></result>

2020-10-29 23:00:08 | contains: true

2020-10-29 23:00:08 | [Mutex] received everything.

2020-10-29 23:00:08 | [Mutex] isItemNotified: user_regular6iucj0202@test-domain.com:message:received:content_fo44gh0204 :: true

2020-10-29 23:00:08 |


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


2020-10-29 23:00:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-29 23:00:08 | command: <data><node>node_i92rm80203</node><expire-at>2020-10-30T06:00:03Z</expire-at><entry><content>content_mak7700205</content></entry></data>

2020-10-29 23:00:08 | target: http://localhost:8088

2020-10-29 23:00:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-29 23:00:08 | entity: <data><node>node_i92rm80203</node><expire-at>2020-10-30T06:00:03Z</expire-at><entry><content>content_mak7700205</content></entry></data>

2020-10-29 23:00:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 06:00:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-29 23:00:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>30c9c1ef-d487-4006-b397-cabcdbf3c97d</value></item-id></result>

2020-10-29 23:00:08 | contains: true

2020-10-29 23:00:08 | [Mutex] waiting for: [user_regular6iucj0202@test-domain.com:message:received:content_mak7700205]

2020-10-29 23:00:23 | [Mutex] timeout. Not received [user_regular6iucj0202@test-domain.com:message:received:content_mak7700205]

2020-10-29 23:00:23 | [Mutex] isItemNotified: user_regular6iucj0202@test-domain.com:message:received:content_mak7700205 :: false

2020-10-29 23:00:23 |


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


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

2020-10-29 23:00:23 | command: <data><node>node_i92rm80203</node><entry><content>content_knskmz0206</content></entry></data>

2020-10-29 23:00:23 | target: http://localhost:8088

2020-10-29 23:00:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-29 23:00:23 | entity: <data><node>node_i92rm80203</node><entry><content>content_knskmz0206</content></entry></data>

2020-10-29 23:00:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 06:00:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-29 23:00:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2de32431-f0c4-4a1f-8a60-bb637bc10029</value></item-id></result>

2020-10-29 23:00:23 | contains: true

2020-10-29 23:00:28 | [Mutex] waiting for: [user_regular6iucj0202@test-domain.com:message:received:content_knskmz0206]

2020-10-29 23:00:28 | [Mutex] received everything.

2020-10-29 23:00:28 | [Mutex] isItemNotified: user_regular6iucj0202@test-domain.com:message:received:content_knskmz0206 :: true

2020-10-29 23:00:28 |


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


2020-10-29 23:00:28 | [Mutex] received everything.

2020-10-29 23:00:28 | [Mutex] isItemNotified: node_i92rm80203:subscribe_node:success :: true

2020-10-29 23:00:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-29 23:00:28 | command: <data><node>node_i92rm80203</node><expire-at>2020-10-30T06:00:33Z</expire-at><entry><content>content_itjoze0207</content></entry></data>

2020-10-29 23:00:28 | target: http://localhost:8088

2020-10-29 23:00:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-29 23:00:28 | entity: <data><node>node_i92rm80203</node><expire-at>2020-10-30T06:00:33Z</expire-at><entry><content>content_itjoze0207</content></entry></data>

2020-10-29 23:00:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 06:00:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-29 23:00:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>52f705c8-9008-476e-9812-5bcf1b88eafc</value></item-id></result>

2020-10-29 23:00:28 | contains: true

2020-10-29 23:00:36 | [Mutex] waiting for: [user_regular6iucj0202@test-domain.com:message:received:content_itjoze0207]

2020-10-29 23:00:36 | [Mutex] waiting for: [user_regular6iucj0202@test-domain.com:message:received:content_itjoze0207]

2020-10-29 23:00:51 | [Mutex] timeout. Not received [user_regular6iucj0202@test-domain.com:message:received:content_itjoze0207]

2020-10-29 23:00:51 | [Mutex] received everything.

2020-10-29 23:00:51 | [Mutex] isItemNotified: user_regular6iucj0202@test-domain.com:message:received:content_itjoze0207 :: false

2020-10-29 23:00:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_itjoze0207 :: true