Generated by TestNG with ReportNG at 22:48 PDT on Tuesday 26 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.467s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.605s
2022-07-26 23:03:01 |

2022-07-26 23:03:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-26 23:03:01 | ------------------------------------

2022-07-26 23:03:01 | [Mutex] isItemNotified: node_3kkuf30204:exists :: false

2022-07-26 23:03:01 | [Mutex] waiting for: [node_3kkuf30204:create_node]

2022-07-26 23:03:01 | [Mutex] received everything.

2022-07-26 23:03:01 | [Mutex] isItemNotified: node_3kkuf30204:create_node:success :: true

2022-07-26 23:03:01 | [Mutex] waiting for: [node_3kkuf30204:subscribe_node]

2022-07-26 23:03:01 | [Mutex] received everything.

2022-07-26 23:03:01 | [Mutex] isItemNotified: node_3kkuf30204:subscribe_node:success :: true

2022-07-26 23:03:01 |


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


2022-07-26 23:03:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 23:03:01 | command: <data><node>node_3kkuf30204</node><entry><content>content_6v32c30205</content></entry></data>

2022-07-26 23:03:01 | target: http://localhost:8088

2022-07-26 23:03:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-26 23:03:01 | entity: <data><node>node_3kkuf30204</node><entry><content>content_6v32c30205</content></entry></data>

2022-07-26 23:03:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 06:03:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-26 23:03:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>985c4fc3-7d5b-4864-bfdf-cecf1e15b685</value></item-id></result>

2022-07-26 23:03:01 | contains: true

2022-07-26 23:03:01 | [Mutex] received everything.

2022-07-26 23:03:01 | [Mutex] isItemNotified: user_regularjiz8xq0203@test-domain.com:message:received:content_6v32c30205 :: true

2022-07-26 23:03:01 |


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


2022-07-26 23:03:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 23:03:01 | command: <data><node>node_3kkuf30204</node><expire-at>2022-07-27T06:02:56Z</expire-at><entry><content>content_9gkv5f0206</content></entry></data>

2022-07-26 23:03:01 | target: http://localhost:8088

2022-07-26 23:03:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-26 23:03:01 | entity: <data><node>node_3kkuf30204</node><expire-at>2022-07-27T06:02:56Z</expire-at><entry><content>content_9gkv5f0206</content></entry></data>

2022-07-26 23:03:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 06:03:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-26 23:03:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a393150d-8193-430e-9237-64d92aa93823</value></item-id></result>

2022-07-26 23:03:01 | contains: true

2022-07-26 23:03:01 | [Mutex] waiting for: [user_regularjiz8xq0203@test-domain.com:message:received:content_9gkv5f0206]

2022-07-26 23:03:16 | [Mutex] timeout. Not received [user_regularjiz8xq0203@test-domain.com:message:received:content_9gkv5f0206]

2022-07-26 23:03:16 | [Mutex] isItemNotified: user_regularjiz8xq0203@test-domain.com:message:received:content_9gkv5f0206 :: false

2022-07-26 23:03:16 |


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


2022-07-26 23:03:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 23:03:16 | command: <data><node>node_3kkuf30204</node><entry><content>content_izu73n0207</content></entry></data>

2022-07-26 23:03:16 | target: http://localhost:8088

2022-07-26 23:03:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-26 23:03:16 | entity: <data><node>node_3kkuf30204</node><entry><content>content_izu73n0207</content></entry></data>

2022-07-26 23:03:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 06:03:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-26 23:03:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d29cf119-a80c-4e62-9238-cc4ab551fe82</value></item-id></result>

2022-07-26 23:03:16 | contains: true

2022-07-26 23:03:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-26 23:03:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-26 23:03:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-26 23:03:21 | [Mutex] waiting for: [user_regularjiz8xq0203@test-domain.com:message:received:content_izu73n0207]

2022-07-26 23:03:21 | [Mutex] waiting for: [user_regularjiz8xq0203@test-domain.com:message:received:content_izu73n0207]

2022-07-26 23:03:21 | [Mutex] received everything.

2022-07-26 23:03:21 | [Mutex] isItemNotified: user_regularjiz8xq0203@test-domain.com:message:received:content_izu73n0207 :: true

2022-07-26 23:03:21 |


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


2022-07-26 23:03:21 | [Mutex] received everything.

2022-07-26 23:03:21 | [Mutex] isItemNotified: node_3kkuf30204:subscribe_node:success :: true

2022-07-26 23:03:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 23:03:21 | command: <data><node>node_3kkuf30204</node><expire-at>2022-07-27T06:03:26Z</expire-at><entry><content>content_ct4iy00208</content></entry></data>

2022-07-26 23:03:21 | target: http://localhost:8088

2022-07-26 23:03:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-26 23:03:21 | entity: <data><node>node_3kkuf30204</node><expire-at>2022-07-27T06:03:26Z</expire-at><entry><content>content_ct4iy00208</content></entry></data>

2022-07-26 23:03:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 06:03:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-26 23:03:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>92c0374f-4712-4ee3-b63e-228377d1fc06</value></item-id></result>

2022-07-26 23:03:21 | contains: true

2022-07-26 23:03:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-26 23:03:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-26 23:03:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-26 23:03:29 | [Mutex] waiting for: [user_regularjiz8xq0203@test-domain.com:message:received:content_ct4iy00208]

2022-07-26 23:03:29 | [Mutex] waiting for: [user_regularjiz8xq0203@test-domain.com:message:received:content_ct4iy00208]

2022-07-26 23:03:29 | [Mutex] waiting for: [user_regularjiz8xq0203@test-domain.com:message:received:content_ct4iy00208]

2022-07-26 23:03:44 | [Mutex] timeout. Not received [user_regularjiz8xq0203@test-domain.com:message:received:content_ct4iy00208]

2022-07-26 23:03:44 | [Mutex] received everything.

2022-07-26 23:03:44 | [Mutex] isItemNotified: user_regularjiz8xq0203@test-domain.com:message:received:content_ct4iy00208 :: false

2022-07-26 23:03:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ct4iy00208 :: true