Generated by TestNG with ReportNG at 22:18 PDT on Monday 03 April 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.670s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.620s
2023-04-03 22:33:04 |

2023-04-03 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-04-03 22:33:04 | ------------------------------------

2023-04-03 22:33:04 | [Mutex] isItemNotified: node_rnvftk0208:exists :: false

2023-04-03 22:33:04 | [Mutex] waiting for: [node_rnvftk0208:create_node]

2023-04-03 22:33:04 | [Mutex] waiting for: [node_rnvftk0208:create_node]

2023-04-03 22:33:04 | [Mutex] received everything.

2023-04-03 22:33:04 | [Mutex] isItemNotified: node_rnvftk0208:create_node:success :: true

2023-04-03 22:33:04 | [Mutex] waiting for: [node_rnvftk0208:subscribe_node]

2023-04-03 22:33:04 | [Mutex] waiting for: [node_rnvftk0208:subscribe_node]

2023-04-03 22:33:04 | [Mutex] received everything.

2023-04-03 22:33:04 | [Mutex] isItemNotified: node_rnvftk0208:subscribe_node:success :: true

2023-04-03 22:33:04 |


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


2023-04-03 22:33:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-04-03 22:33:04 | command: <data><node>node_rnvftk0208</node><entry><content>content_2nsszr0209</content></entry></data>

2023-04-03 22:33:04 | target: http://localhost:8088

2023-04-03 22:33:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-04-03 22:33:04 | entity: <data><node>node_rnvftk0208</node><entry><content>content_2nsszr0209</content></entry></data>

2023-04-03 22:33:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:33:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-04-03 22:33:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c5c1290d-6811-42b7-bc3e-53bbbc46ee12</value></item-id></result>

2023-04-03 22:33:04 | contains: true

2023-04-03 22:33:04 | [Mutex] received everything.

2023-04-03 22:33:04 | [Mutex] isItemNotified: user_regular9vd4ot0207@test-domain.com:message:received:content_2nsszr0209 :: true

2023-04-03 22:33:04 |


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


2023-04-03 22:33:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-04-03 22:33:04 | command: <data><node>node_rnvftk0208</node><expire-at>2023-04-04T05:32:59Z</expire-at><entry><content>content_p5uoq30210</content></entry></data>

2023-04-03 22:33:04 | target: http://localhost:8088

2023-04-03 22:33:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-04-03 22:33:04 | entity: <data><node>node_rnvftk0208</node><expire-at>2023-04-04T05:32:59Z</expire-at><entry><content>content_p5uoq30210</content></entry></data>

2023-04-03 22:33:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:33:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-04-03 22:33:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c02e5918-51d7-4169-9be3-666202c5e848</value></item-id></result>

2023-04-03 22:33:04 | contains: true

2023-04-03 22:33:04 | [Mutex] waiting for: [user_regular9vd4ot0207@test-domain.com:message:received:content_p5uoq30210]

2023-04-03 22:33:19 | [Mutex] timeout. Not received [user_regular9vd4ot0207@test-domain.com:message:received:content_p5uoq30210]

2023-04-03 22:33:19 | [Mutex] isItemNotified: user_regular9vd4ot0207@test-domain.com:message:received:content_p5uoq30210 :: false

2023-04-03 22:33:19 |


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


2023-04-03 22:33:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-04-03 22:33:19 | command: <data><node>node_rnvftk0208</node><entry><content>content_pjvxd20211</content></entry></data>

2023-04-03 22:33:19 | target: http://localhost:8088

2023-04-03 22:33:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-04-03 22:33:19 | entity: <data><node>node_rnvftk0208</node><entry><content>content_pjvxd20211</content></entry></data>

2023-04-03 22:33:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:33:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-04-03 22:33:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc891f57-896f-48d3-9ccf-62aea06f1386</value></item-id></result>

2023-04-03 22:33:19 | contains: true

2023-04-03 22:33:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-04-03 22:33:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-04-03 22:33:24 | [Mutex] waiting for: [user_regular9vd4ot0207@test-domain.com:message:received:content_pjvxd20211]

2023-04-03 22:33:24 | [Mutex] waiting for: [user_regular9vd4ot0207@test-domain.com:message:received:content_pjvxd20211]

2023-04-03 22:33:24 | [Mutex] received everything.

2023-04-03 22:33:24 | [Mutex] isItemNotified: user_regular9vd4ot0207@test-domain.com:message:received:content_pjvxd20211 :: true

2023-04-03 22:33:24 |


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


2023-04-03 22:33:24 | [Mutex] received everything.

2023-04-03 22:33:24 | [Mutex] isItemNotified: node_rnvftk0208:subscribe_node:success :: true

2023-04-03 22:33:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-04-03 22:33:24 | command: <data><node>node_rnvftk0208</node><expire-at>2023-04-04T05:33:29Z</expire-at><entry><content>content_oa5qs60212</content></entry></data>

2023-04-03 22:33:24 | target: http://localhost:8088

2023-04-03 22:33:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-04-03 22:33:24 | entity: <data><node>node_rnvftk0208</node><expire-at>2023-04-04T05:33:29Z</expire-at><entry><content>content_oa5qs60212</content></entry></data>

2023-04-03 22:33:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:33:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-04-03 22:33:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eeed5755-c3a7-4cea-997d-796e4630f3dc</value></item-id></result>

2023-04-03 22:33:24 | contains: true

2023-04-03 22:33:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-04-03 22:33:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-04-03 22:33:33 | [Mutex] waiting for: [user_regular9vd4ot0207@test-domain.com:message:received:content_oa5qs60212]

2023-04-03 22:33:48 | [Mutex] timeout. Not received [user_regular9vd4ot0207@test-domain.com:message:received:content_oa5qs60212]

2023-04-03 22:33:48 | [Mutex] received everything.

2023-04-03 22:33:48 | [Mutex] isItemNotified: user_regular9vd4ot0207@test-domain.com:message:received:content_oa5qs60212 :: false

2023-04-03 22:33:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oa5qs60212 :: true