Generated by TestNG with ReportNG at 23:02 PST on Sunday 05 November 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.629s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.601s
2023-11-05 23:17:33 |

2023-11-05 23:17:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-11-05 23:17:33 | ------------------------------------

2023-11-05 23:17:33 | [Mutex] isItemNotified: node_2h3jz40208:exists :: false

2023-11-05 23:17:33 | [Mutex] waiting for: [node_2h3jz40208:create_node]

2023-11-05 23:17:33 | [Mutex] received everything.

2023-11-05 23:17:33 | [Mutex] isItemNotified: node_2h3jz40208:create_node:success :: true

2023-11-05 23:17:33 | [Mutex] waiting for: [node_2h3jz40208:subscribe_node]

2023-11-05 23:17:33 | [Mutex] waiting for: [node_2h3jz40208:subscribe_node]

2023-11-05 23:17:33 | [Mutex] received everything.

2023-11-05 23:17:33 | [Mutex] isItemNotified: node_2h3jz40208:subscribe_node:success :: true

2023-11-05 23:17:33 |


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


2023-11-05 23:17:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 23:17:33 | command: <data><node>node_2h3jz40208</node><entry><content>content_5k5nbg0209</content></entry></data>

2023-11-05 23:17:33 | target: http://localhost:8088

2023-11-05 23:17:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 23:17:33 | entity: <data><node>node_2h3jz40208</node><entry><content>content_5k5nbg0209</content></entry></data>

2023-11-05 23:17:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 07:17:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 23:17:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5888015d-cb94-4947-be66-42d320803a3f</value></item-id></result>

2023-11-05 23:17:33 | contains: true

2023-11-05 23:17:33 | [Mutex] received everything.

2023-11-05 23:17:33 | [Mutex] isItemNotified: user_regulartojzoa0207@test-domain.com:message:received:content_5k5nbg0209 :: true

2023-11-05 23:17:33 |


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


2023-11-05 23:17:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 23:17:33 | command: <data><node>node_2h3jz40208</node><expire-at>2023-11-06T07:17:28Z</expire-at><entry><content>content_r96c7a0210</content></entry></data>

2023-11-05 23:17:33 | target: http://localhost:8088

2023-11-05 23:17:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 23:17:33 | entity: <data><node>node_2h3jz40208</node><expire-at>2023-11-06T07:17:28Z</expire-at><entry><content>content_r96c7a0210</content></entry></data>

2023-11-05 23:17:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 07:17:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 23:17:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>af348cdf-0781-46ed-b16d-fcc76b3d0644</value></item-id></result>

2023-11-05 23:17:33 | contains: true

2023-11-05 23:17:33 | [Mutex] waiting for: [user_regulartojzoa0207@test-domain.com:message:received:content_r96c7a0210]

2023-11-05 23:17:48 | [Mutex] timeout. Not received [user_regulartojzoa0207@test-domain.com:message:received:content_r96c7a0210]

2023-11-05 23:17:48 | [Mutex] isItemNotified: user_regulartojzoa0207@test-domain.com:message:received:content_r96c7a0210 :: false

2023-11-05 23:17:48 |


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


2023-11-05 23:17:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 23:17:48 | command: <data><node>node_2h3jz40208</node><entry><content>content_mvcvdz0211</content></entry></data>

2023-11-05 23:17:48 | target: http://localhost:8088

2023-11-05 23:17:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-11-05 23:17:48 | entity: <data><node>node_2h3jz40208</node><entry><content>content_mvcvdz0211</content></entry></data>

2023-11-05 23:17:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 07:17:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 23:17:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1decf77d-bb5c-488e-8b8a-33925e3fde6c</value></item-id></result>

2023-11-05 23:17:48 | contains: true

2023-11-05 23:17:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-05 23:17:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-11-05 23:17:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 23:17:53 | [Mutex] waiting for: [user_regulartojzoa0207@test-domain.com:message:received:content_mvcvdz0211]

2023-11-05 23:17:53 | [Mutex] waiting for: [user_regulartojzoa0207@test-domain.com:message:received:content_mvcvdz0211]

2023-11-05 23:17:53 | [Mutex] received everything.

2023-11-05 23:17:53 | [Mutex] isItemNotified: user_regulartojzoa0207@test-domain.com:message:received:content_mvcvdz0211 :: true

2023-11-05 23:17:53 |


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


2023-11-05 23:17:53 | [Mutex] received everything.

2023-11-05 23:17:53 | [Mutex] isItemNotified: node_2h3jz40208:subscribe_node:success :: true

2023-11-05 23:17:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-11-05 23:17:54 | command: <data><node>node_2h3jz40208</node><expire-at>2023-11-06T07:17:59Z</expire-at><entry><content>content_btniwm0212</content></entry></data>

2023-11-05 23:17:54 | target: http://localhost:8088

2023-11-05 23:17:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-11-05 23:17:54 | entity: <data><node>node_2h3jz40208</node><expire-at>2023-11-06T07:17:59Z</expire-at><entry><content>content_btniwm0212</content></entry></data>

2023-11-05 23:17:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Nov 2023 07:17:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-11-05 23:17:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ca9417dc-f3e5-436f-9fe0-056ec591ffa1</value></item-id></result>

2023-11-05 23:17:54 | contains: true

2023-11-05 23:18:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-11-05 23:18:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-11-05 23:18:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-11-05 23:18:02 | [Mutex] waiting for: [user_regulartojzoa0207@test-domain.com:message:received:content_btniwm0212]

2023-11-05 23:18:17 | [Mutex] timeout. Not received [user_regulartojzoa0207@test-domain.com:message:received:content_btniwm0212]

2023-11-05 23:18:17 | [Mutex] received everything.

2023-11-05 23:18:17 | [Mutex] isItemNotified: user_regulartojzoa0207@test-domain.com:message:received:content_btniwm0212 :: false

2023-11-05 23:18:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_btniwm0212 :: true