Generated by TestNG with ReportNG at 23:45 PDT on Thursday 28 September 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.456s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.624s
2023-09-28 23:59:56 |

2023-09-28 23:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-09-28 23:59:56 | ------------------------------------

2023-09-28 23:59:56 | [Mutex] isItemNotified: node_t0d7rz0208:exists :: false

2023-09-28 23:59:56 | [Mutex] waiting for: [node_t0d7rz0208:create_node]

2023-09-28 23:59:56 | [Mutex] waiting for: [node_t0d7rz0208:create_node]

2023-09-28 23:59:56 | [Mutex] received everything.

2023-09-28 23:59:56 | [Mutex] isItemNotified: node_t0d7rz0208:create_node:success :: true

2023-09-28 23:59:56 | [Mutex] waiting for: [node_t0d7rz0208:subscribe_node]

2023-09-28 23:59:56 | [Mutex] waiting for: [node_t0d7rz0208:subscribe_node]

2023-09-28 23:59:56 | [Mutex] received everything.

2023-09-28 23:59:56 | [Mutex] isItemNotified: node_t0d7rz0208:subscribe_node:success :: true

2023-09-28 23:59:56 |


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


2023-09-28 23:59:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-28 23:59:56 | command: <data><node>node_t0d7rz0208</node><entry><content>content_9hbxbf0209</content></entry></data>

2023-09-28 23:59:56 | target: http://localhost:8088

2023-09-28 23:59:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-09-28 23:59:56 | entity: <data><node>node_t0d7rz0208</node><entry><content>content_9hbxbf0209</content></entry></data>

2023-09-28 23:59:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 06:59:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-28 23:59:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cff87b6a-c282-4bac-a64c-f17f1ad92513</value></item-id></result>

2023-09-28 23:59:56 | contains: true

2023-09-28 23:59:56 | [Mutex] received everything.

2023-09-28 23:59:56 | [Mutex] isItemNotified: user_regulargn9ihv0207@test-domain.com:message:received:content_9hbxbf0209 :: true

2023-09-28 23:59:56 |


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


2023-09-28 23:59:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-28 23:59:56 | command: <data><node>node_t0d7rz0208</node><expire-at>2023-09-29T06:59:51Z</expire-at><entry><content>content_fltkao0210</content></entry></data>

2023-09-28 23:59:56 | target: http://localhost:8088

2023-09-28 23:59:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-09-28 23:59:56 | entity: <data><node>node_t0d7rz0208</node><expire-at>2023-09-29T06:59:51Z</expire-at><entry><content>content_fltkao0210</content></entry></data>

2023-09-28 23:59:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 06:59:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-28 23:59:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ec0b9cb5-3e06-48f3-a9f5-18b3faa6485d</value></item-id></result>

2023-09-28 23:59:56 | contains: true

2023-09-28 23:59:56 | [Mutex] waiting for: [user_regulargn9ihv0207@test-domain.com:message:received:content_fltkao0210]

2023-09-29 00:00:11 | [Mutex] timeout. Not received [user_regulargn9ihv0207@test-domain.com:message:received:content_fltkao0210]

2023-09-29 00:00:11 | [Mutex] isItemNotified: user_regulargn9ihv0207@test-domain.com:message:received:content_fltkao0210 :: false

2023-09-29 00:00:11 |


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


2023-09-29 00:00:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-29 00:00:11 | command: <data><node>node_t0d7rz0208</node><entry><content>content_igi2kp0211</content></entry></data>

2023-09-29 00:00:11 | target: http://localhost:8088

2023-09-29 00:00:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-09-29 00:00:11 | entity: <data><node>node_t0d7rz0208</node><entry><content>content_igi2kp0211</content></entry></data>

2023-09-29 00:00:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:00:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-29 00:00:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d0c17b6c-f8d0-4351-ab22-4eba3008dba8</value></item-id></result>

2023-09-29 00:00:11 | contains: true

2023-09-29 00:00:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-09-29 00:00:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-09-29 00:00:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-09-29 00:00:16 | [Mutex] waiting for: [user_regulargn9ihv0207@test-domain.com:message:received:content_igi2kp0211]

2023-09-29 00:00:16 | [Mutex] waiting for: [user_regulargn9ihv0207@test-domain.com:message:received:content_igi2kp0211]

2023-09-29 00:00:16 | [Mutex] received everything.

2023-09-29 00:00:16 | [Mutex] isItemNotified: user_regulargn9ihv0207@test-domain.com:message:received:content_igi2kp0211 :: true

2023-09-29 00:00:16 |


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


2023-09-29 00:00:16 | [Mutex] received everything.

2023-09-29 00:00:16 | [Mutex] isItemNotified: node_t0d7rz0208:subscribe_node:success :: true

2023-09-29 00:00:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-29 00:00:16 | command: <data><node>node_t0d7rz0208</node><expire-at>2023-09-29T07:00:21Z</expire-at><entry><content>content_hq27m60212</content></entry></data>

2023-09-29 00:00:16 | target: http://localhost:8088

2023-09-29 00:00:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-09-29 00:00:16 | entity: <data><node>node_t0d7rz0208</node><expire-at>2023-09-29T07:00:21Z</expire-at><entry><content>content_hq27m60212</content></entry></data>

2023-09-29 00:00:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:00:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-29 00:00:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2776400b-e246-47a0-97ec-1fae2416ef79</value></item-id></result>

2023-09-29 00:00:16 | contains: true

2023-09-29 00:00:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-09-29 00:00:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-09-29 00:00:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-09-29 00:00:24 | [Mutex] waiting for: [user_regulargn9ihv0207@test-domain.com:message:received:content_hq27m60212]

2023-09-29 00:00:24 | [Mutex] waiting for: [user_regulargn9ihv0207@test-domain.com:message:received:content_hq27m60212]

2023-09-29 00:00:39 | [Mutex] timeout. Not received [user_regulargn9ihv0207@test-domain.com:message:received:content_hq27m60212]

2023-09-29 00:00:39 | [Mutex] received everything.

2023-09-29 00:00:39 | [Mutex] isItemNotified: user_regulargn9ihv0207@test-domain.com:message:received:content_hq27m60212 :: false

2023-09-29 00:00:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hq27m60212 :: true