Generated by TestNG with ReportNG at 22:30 PDT on Friday 07 July 2023
root@8f5c98824654 / 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.567s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.680s
2023-07-07 22:45:17 |

2023-07-07 22:45:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-07 22:45:17 | ------------------------------------

2023-07-07 22:45:17 | [Mutex] isItemNotified: node_x704ig0208:exists :: false

2023-07-07 22:45:17 | [Mutex] waiting for: [node_x704ig0208:create_node]

2023-07-07 22:45:17 | [Mutex] waiting for: [node_x704ig0208:create_node]

2023-07-07 22:45:17 | [Mutex] received everything.

2023-07-07 22:45:17 | [Mutex] isItemNotified: node_x704ig0208:create_node:success :: true

2023-07-07 22:45:17 | [Mutex] waiting for: [node_x704ig0208:subscribe_node]

2023-07-07 22:45:17 | [Mutex] waiting for: [node_x704ig0208:subscribe_node]

2023-07-07 22:45:17 | [Mutex] received everything.

2023-07-07 22:45:17 | [Mutex] isItemNotified: node_x704ig0208:subscribe_node:success :: true

2023-07-07 22:45:17 |


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


2023-07-07 22:45:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-07 22:45:17 | command: <data><node>node_x704ig0208</node><entry><content>content_hqg9ru0209</content></entry></data>

2023-07-07 22:45:17 | target: http://localhost:8088

2023-07-07 22:45:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-07 22:45:17 | entity: <data><node>node_x704ig0208</node><entry><content>content_hqg9ru0209</content></entry></data>

2023-07-07 22:45:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:45:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-07 22:45:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>76f78be2-05f2-4c7a-87a8-921a228d2765</value></item-id></result>

2023-07-07 22:45:17 | contains: true

2023-07-07 22:45:17 | [Mutex] waiting for: [user_regularrqawoe0207@test-domain.com:message:received:content_hqg9ru0209]

2023-07-07 22:45:17 | [Mutex] received everything.

2023-07-07 22:45:17 | [Mutex] isItemNotified: user_regularrqawoe0207@test-domain.com:message:received:content_hqg9ru0209 :: true

2023-07-07 22:45:17 |


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


2023-07-07 22:45:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-07 22:45:17 | command: <data><node>node_x704ig0208</node><expire-at>2023-07-08T05:45:12Z</expire-at><entry><content>content_loh3qb0210</content></entry></data>

2023-07-07 22:45:17 | target: http://localhost:8088

2023-07-07 22:45:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-07 22:45:17 | entity: <data><node>node_x704ig0208</node><expire-at>2023-07-08T05:45:12Z</expire-at><entry><content>content_loh3qb0210</content></entry></data>

2023-07-07 22:45:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:45:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-07 22:45:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9789dd04-5db3-4a7c-be79-3289a768602c</value></item-id></result>

2023-07-07 22:45:17 | contains: true

2023-07-07 22:45:17 | [Mutex] waiting for: [user_regularrqawoe0207@test-domain.com:message:received:content_loh3qb0210]

2023-07-07 22:45:32 | [Mutex] timeout. Not received [user_regularrqawoe0207@test-domain.com:message:received:content_loh3qb0210]

2023-07-07 22:45:32 | [Mutex] isItemNotified: user_regularrqawoe0207@test-domain.com:message:received:content_loh3qb0210 :: false

2023-07-07 22:45:32 |


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


2023-07-07 22:45:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-07 22:45:32 | command: <data><node>node_x704ig0208</node><entry><content>content_9sce0211</content></entry></data>

2023-07-07 22:45:32 | target: http://localhost:8088

2023-07-07 22:45:32 | entity: [Content-Type: application/xml,Content-Length: 91,Chunked: false]

2023-07-07 22:45:32 | entity: <data><node>node_x704ig0208</node><entry><content>content_9sce0211</content></entry></data>

2023-07-07 22:45:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:45:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-07 22:45:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b05129de-815f-4b15-8646-6ad4bae69cb3</value></item-id></result>

2023-07-07 22:45:32 | contains: true

2023-07-07 22:45:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-07-07 22:45:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-07 22:45:37 | [Mutex] waiting for: [user_regularrqawoe0207@test-domain.com:message:received:content_9sce0211]

2023-07-07 22:45:37 | [Mutex] received everything.

2023-07-07 22:45:37 | [Mutex] isItemNotified: user_regularrqawoe0207@test-domain.com:message:received:content_9sce0211 :: true

2023-07-07 22:45:37 |


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


2023-07-07 22:45:37 | [Mutex] received everything.

2023-07-07 22:45:37 | [Mutex] isItemNotified: node_x704ig0208:subscribe_node:success :: true

2023-07-07 22:45:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-07 22:45:37 | command: <data><node>node_x704ig0208</node><expire-at>2023-07-08T05:45:42Z</expire-at><entry><content>content_orvzou0212</content></entry></data>

2023-07-07 22:45:37 | target: http://localhost:8088

2023-07-07 22:45:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-07 22:45:37 | entity: <data><node>node_x704ig0208</node><expire-at>2023-07-08T05:45:42Z</expire-at><entry><content>content_orvzou0212</content></entry></data>

2023-07-07 22:45:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:45:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-07 22:45:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6e816551-5ed6-4543-8d3f-f3676c39f260</value></item-id></result>

2023-07-07 22:45:38 | contains: true

2023-07-07 22:45:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-07-07 22:45:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-07 22:45:46 | [Mutex] waiting for: [user_regularrqawoe0207@test-domain.com:message:received:content_orvzou0212]

2023-07-07 22:45:46 | [Mutex] waiting for: [user_regularrqawoe0207@test-domain.com:message:received:content_orvzou0212]

2023-07-07 22:45:46 | [Mutex] waiting for: [user_regularrqawoe0207@test-domain.com:message:received:content_orvzou0212]

2023-07-07 22:46:01 | [Mutex] timeout. Not received [user_regularrqawoe0207@test-domain.com:message:received:content_orvzou0212]

2023-07-07 22:46:01 | [Mutex] received everything.

2023-07-07 22:46:01 | [Mutex] isItemNotified: user_regularrqawoe0207@test-domain.com:message:received:content_orvzou0212 :: false

2023-07-07 22:46:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_orvzou0212 :: true