Generated by TestNG with ReportNG at 22:48 PDT on Wednesday 13 April 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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.002s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.684s
2022-04-13 23:09:23 |

2022-04-13 23:09:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-04-13 23:09:23 | ------------------------------------

2022-04-13 23:09:23 | [Mutex] isItemNotified: node_e5kfqe0203:exists :: false

2022-04-13 23:09:23 | [Mutex] waiting for: [node_e5kfqe0203:create_node]

2022-04-13 23:09:23 | [Mutex] waiting for: [node_e5kfqe0203:create_node]

2022-04-13 23:09:23 | [Mutex] received everything.

2022-04-13 23:09:23 | [Mutex] isItemNotified: node_e5kfqe0203:create_node:success :: true

2022-04-13 23:09:23 | [Mutex] waiting for: [node_e5kfqe0203:subscribe_node]

2022-04-13 23:09:23 | [Mutex] waiting for: [node_e5kfqe0203:subscribe_node]

2022-04-13 23:09:23 | [Mutex] received everything.

2022-04-13 23:09:23 | [Mutex] isItemNotified: node_e5kfqe0203:subscribe_node:success :: true

2022-04-13 23:09:23 |


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


2022-04-13 23:09:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 23:09:23 | command: <data><node>node_e5kfqe0203</node><entry><content>content_hvqrak0204</content></entry></data>

2022-04-13 23:09:23 | target: http://localhost:8088

2022-04-13 23:09:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-13 23:09:23 | entity: <data><node>node_e5kfqe0203</node><entry><content>content_hvqrak0204</content></entry></data>

2022-04-13 23:09:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 06:09:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 23:09:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9eddc48e-1552-4c84-ad85-3713eda62159</value></item-id></result>

2022-04-13 23:09:23 | contains: true

2022-04-13 23:09:23 | [Mutex] waiting for: [user_regular46tpns0202@test-domain.com:message:received:content_hvqrak0204]

2022-04-13 23:09:23 | [Mutex] received everything.

2022-04-13 23:09:23 | [Mutex] isItemNotified: user_regular46tpns0202@test-domain.com:message:received:content_hvqrak0204 :: true

2022-04-13 23:09:23 |


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


2022-04-13 23:09:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 23:09:23 | command: <data><node>node_e5kfqe0203</node><expire-at>2022-04-14T06:09:18Z</expire-at><entry><content>content_zad4h00205</content></entry></data>

2022-04-13 23:09:23 | target: http://localhost:8088

2022-04-13 23:09:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-13 23:09:23 | entity: <data><node>node_e5kfqe0203</node><expire-at>2022-04-14T06:09:18Z</expire-at><entry><content>content_zad4h00205</content></entry></data>

2022-04-13 23:09:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 06:09:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 23:09:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>11ff0493-86f9-4fcc-a793-d50d8318b043</value></item-id></result>

2022-04-13 23:09:23 | contains: true

2022-04-13 23:09:23 | [Mutex] waiting for: [user_regular46tpns0202@test-domain.com:message:received:content_zad4h00205]

2022-04-13 23:09:38 | [Mutex] timeout. Not received [user_regular46tpns0202@test-domain.com:message:received:content_zad4h00205]

2022-04-13 23:09:38 | [Mutex] isItemNotified: user_regular46tpns0202@test-domain.com:message:received:content_zad4h00205 :: false

2022-04-13 23:09:38 |


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


2022-04-13 23:09:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 23:09:38 | command: <data><node>node_e5kfqe0203</node><entry><content>content_8qgi9w0206</content></entry></data>

2022-04-13 23:09:38 | target: http://localhost:8088

2022-04-13 23:09:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-13 23:09:38 | entity: <data><node>node_e5kfqe0203</node><entry><content>content_8qgi9w0206</content></entry></data>

2022-04-13 23:09:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 06:09:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 23:09:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>52477a4c-9d4b-4c59-a1c4-fa7ce3ff4fef</value></item-id></result>

2022-04-13 23:09:38 | contains: true

2022-04-13 23:09:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-13 23:09:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222

2022-04-13 23:09:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-13 23:09:44 | [Mutex] waiting for: [user_regular46tpns0202@test-domain.com:message:received:content_8qgi9w0206]

2022-04-13 23:09:44 | [Mutex] waiting for: [user_regular46tpns0202@test-domain.com:message:received:content_8qgi9w0206]

2022-04-13 23:09:44 | [Mutex] received everything.

2022-04-13 23:09:44 | [Mutex] isItemNotified: user_regular46tpns0202@test-domain.com:message:received:content_8qgi9w0206 :: true

2022-04-13 23:09:44 |


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


2022-04-13 23:09:44 | [Mutex] received everything.

2022-04-13 23:09:44 | [Mutex] isItemNotified: node_e5kfqe0203:subscribe_node:success :: true

2022-04-13 23:09:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-13 23:09:44 | command: <data><node>node_e5kfqe0203</node><expire-at>2022-04-14T06:09:49Z</expire-at><entry><content>content_613smn0207</content></entry></data>

2022-04-13 23:09:44 | target: http://localhost:8088

2022-04-13 23:09:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-13 23:09:44 | entity: <data><node>node_e5kfqe0203</node><expire-at>2022-04-14T06:09:49Z</expire-at><entry><content>content_613smn0207</content></entry></data>

2022-04-13 23:09:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 14 Apr 2022 06:09:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-13 23:09:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a53eba2c-e5ab-468d-8308-001e6b704bc6</value></item-id></result>

2022-04-13 23:09:44 | contains: true

2022-04-13 23:09:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-13 23:09:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] DNS entry stored in session object: localhost:5222

2022-04-13 23:09:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-13 23:09:52 | [Mutex] waiting for: [user_regular46tpns0202@test-domain.com:message:received:content_613smn0207]

2022-04-13 23:09:52 | [Mutex] waiting for: [user_regular46tpns0202@test-domain.com:message:received:content_613smn0207]

2022-04-13 23:10:07 | [Mutex] timeout. Not received [user_regular46tpns0202@test-domain.com:message:received:content_613smn0207]

2022-04-13 23:10:07 | [Mutex] received everything.

2022-04-13 23:10:07 | [Mutex] isItemNotified: user_regular46tpns0202@test-domain.com:message:received:content_613smn0207 :: false

2022-04-13 23:10:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_613smn0207 :: true