Generated by TestNG with ReportNG at 20:59 PDT on Wednesday 05 July 2023
root@cc7d7fbb25f7 / Java 17.0.6 (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.712s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.608s
2023-07-05 21:14:05 |

2023-07-05 21:14:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-05 21:14:05 | ------------------------------------

2023-07-05 21:14:05 | [Mutex] isItemNotified: node_s3e7os0208:exists :: false

2023-07-05 21:14:05 | [Mutex] waiting for: [node_s3e7os0208:create_node]

2023-07-05 21:14:05 | [Mutex] received everything.

2023-07-05 21:14:05 | [Mutex] isItemNotified: node_s3e7os0208:create_node:success :: true

2023-07-05 21:14:05 | [Mutex] waiting for: [node_s3e7os0208:subscribe_node]

2023-07-05 21:14:05 | [Mutex] waiting for: [node_s3e7os0208:subscribe_node]

2023-07-05 21:14:05 | [Mutex] received everything.

2023-07-05 21:14:05 | [Mutex] isItemNotified: node_s3e7os0208:subscribe_node:success :: true

2023-07-05 21:14:05 |


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


2023-07-05 21:14:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:14:05 | command: <data><node>node_s3e7os0208</node><entry><content>content_draiw60209</content></entry></data>

2023-07-05 21:14:05 | target: http://localhost:8088

2023-07-05 21:14:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-05 21:14:05 | entity: <data><node>node_s3e7os0208</node><entry><content>content_draiw60209</content></entry></data>

2023-07-05 21:14:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:14:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:14:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>11741d8f-1f5f-4720-90f2-a9fe64226c39</value></item-id></result>

2023-07-05 21:14:05 | contains: true

2023-07-05 21:14:05 | [Mutex] waiting for: [user_regularifhvwp0207@test-domain.com:message:received:content_draiw60209]

2023-07-05 21:14:05 | [Mutex] received everything.

2023-07-05 21:14:05 | [Mutex] isItemNotified: user_regularifhvwp0207@test-domain.com:message:received:content_draiw60209 :: true

2023-07-05 21:14:05 |


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


2023-07-05 21:14:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:14:05 | command: <data><node>node_s3e7os0208</node><expire-at>2023-07-06T04:14:00Z</expire-at><entry><content>content_bhpy940210</content></entry></data>

2023-07-05 21:14:05 | target: http://localhost:8088

2023-07-05 21:14:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-05 21:14:05 | entity: <data><node>node_s3e7os0208</node><expire-at>2023-07-06T04:14:00Z</expire-at><entry><content>content_bhpy940210</content></entry></data>

2023-07-05 21:14:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:14:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:14:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bdd1f246-54d7-481e-bebd-da8100f599ff</value></item-id></result>

2023-07-05 21:14:05 | contains: true

2023-07-05 21:14:05 | [Mutex] waiting for: [user_regularifhvwp0207@test-domain.com:message:received:content_bhpy940210]

2023-07-05 21:14:20 | [Mutex] timeout. Not received [user_regularifhvwp0207@test-domain.com:message:received:content_bhpy940210]

2023-07-05 21:14:20 | [Mutex] isItemNotified: user_regularifhvwp0207@test-domain.com:message:received:content_bhpy940210 :: false

2023-07-05 21:14:20 |


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


2023-07-05 21:14:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:14:20 | command: <data><node>node_s3e7os0208</node><entry><content>content_6cu9wz0211</content></entry></data>

2023-07-05 21:14:20 | target: http://localhost:8088

2023-07-05 21:14:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-05 21:14:20 | entity: <data><node>node_s3e7os0208</node><entry><content>content_6cu9wz0211</content></entry></data>

2023-07-05 21:14:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:14:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:14:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a5e17431-70d4-4988-9c5e-d86673119279</value></item-id></result>

2023-07-05 21:14:20 | contains: true

2023-07-05 21:14:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-05 21:14:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-05 21:14:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-05 21:14:25 | [Mutex] waiting for: [user_regularifhvwp0207@test-domain.com:message:received:content_6cu9wz0211]

2023-07-05 21:14:25 | [Mutex] received everything.

2023-07-05 21:14:25 | [Mutex] isItemNotified: user_regularifhvwp0207@test-domain.com:message:received:content_6cu9wz0211 :: true

2023-07-05 21:14:25 |


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


2023-07-05 21:14:25 | [Mutex] received everything.

2023-07-05 21:14:25 | [Mutex] isItemNotified: node_s3e7os0208:subscribe_node:success :: true

2023-07-05 21:14:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 21:14:25 | command: <data><node>node_s3e7os0208</node><expire-at>2023-07-06T04:14:30Z</expire-at><entry><content>content_kuprf40212</content></entry></data>

2023-07-05 21:14:25 | target: http://localhost:8088

2023-07-05 21:14:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-05 21:14:25 | entity: <data><node>node_s3e7os0208</node><expire-at>2023-07-06T04:14:30Z</expire-at><entry><content>content_kuprf40212</content></entry></data>

2023-07-05 21:14:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:14:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 21:14:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>32d1a48f-e534-469f-82b0-c14c2ad822ae</value></item-id></result>

2023-07-05 21:14:25 | contains: true

2023-07-05 21:14:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-05 21:14:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-07-05 21:14:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-05 21:14:33 | [Mutex] waiting for: [user_regularifhvwp0207@test-domain.com:message:received:content_kuprf40212]

2023-07-05 21:14:48 | [Mutex] timeout. Not received [user_regularifhvwp0207@test-domain.com:message:received:content_kuprf40212]

2023-07-05 21:14:48 | [Mutex] received everything.

2023-07-05 21:14:48 | [Mutex] isItemNotified: user_regularifhvwp0207@test-domain.com:message:received:content_kuprf40212 :: false

2023-07-05 21:14:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kuprf40212 :: true