Generated by TestNG with ReportNG at 22:47 PDT on Friday 25 August 2023
root@a4d66e74f1de / 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.642s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.616s
2023-08-25 23:01:56 |

2023-08-25 23:01:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-08-25 23:01:56 | ------------------------------------

2023-08-25 23:01:56 | [Mutex] isItemNotified: node_ulqmub0208:exists :: false

2023-08-25 23:01:56 | [Mutex] waiting for: [node_ulqmub0208:create_node]

2023-08-25 23:01:56 | [Mutex] received everything.

2023-08-25 23:01:56 | [Mutex] isItemNotified: node_ulqmub0208:create_node:success :: true

2023-08-25 23:01:56 | [Mutex] waiting for: [node_ulqmub0208:subscribe_node]

2023-08-25 23:01:56 | [Mutex] waiting for: [node_ulqmub0208:subscribe_node]

2023-08-25 23:01:56 | [Mutex] received everything.

2023-08-25 23:01:56 | [Mutex] isItemNotified: node_ulqmub0208:subscribe_node:success :: true

2023-08-25 23:01:56 |


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


2023-08-25 23:01:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 23:01:56 | command: <data><node>node_ulqmub0208</node><entry><content>content_hcdnfo0209</content></entry></data>

2023-08-25 23:01:56 | target: http://localhost:8088

2023-08-25 23:01:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-25 23:01:56 | entity: <data><node>node_ulqmub0208</node><entry><content>content_hcdnfo0209</content></entry></data>

2023-08-25 23:01:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 06:01:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 23:01:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f00b6beb-207f-4e02-b100-c0e75d3ff793</value></item-id></result>

2023-08-25 23:01:56 | contains: true

2023-08-25 23:01:56 | [Mutex] received everything.

2023-08-25 23:01:56 | [Mutex] isItemNotified: user_regular3p2e4w0207@test-domain.com:message:received:content_hcdnfo0209 :: true

2023-08-25 23:01:56 |


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


2023-08-25 23:01:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 23:01:56 | command: <data><node>node_ulqmub0208</node><expire-at>2023-08-26T06:01:51Z</expire-at><entry><content>content_7fql870210</content></entry></data>

2023-08-25 23:01:56 | target: http://localhost:8088

2023-08-25 23:01:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-25 23:01:56 | entity: <data><node>node_ulqmub0208</node><expire-at>2023-08-26T06:01:51Z</expire-at><entry><content>content_7fql870210</content></entry></data>

2023-08-25 23:01:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 06:01:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 23:01:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f79252e6-70aa-405d-b2fd-71646bbdad98</value></item-id></result>

2023-08-25 23:01:56 | contains: true

2023-08-25 23:01:56 | [Mutex] waiting for: [user_regular3p2e4w0207@test-domain.com:message:received:content_7fql870210]

2023-08-25 23:02:11 | [Mutex] timeout. Not received [user_regular3p2e4w0207@test-domain.com:message:received:content_7fql870210]

2023-08-25 23:02:11 | [Mutex] isItemNotified: user_regular3p2e4w0207@test-domain.com:message:received:content_7fql870210 :: false

2023-08-25 23:02:11 |


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


2023-08-25 23:02:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 23:02:11 | command: <data><node>node_ulqmub0208</node><entry><content>content_9s9v6t0211</content></entry></data>

2023-08-25 23:02:11 | target: http://localhost:8088

2023-08-25 23:02:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-25 23:02:11 | entity: <data><node>node_ulqmub0208</node><entry><content>content_9s9v6t0211</content></entry></data>

2023-08-25 23:02:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 06:02:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 23:02:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e45317ba-f53e-4007-8803-c0621e8a51c6</value></item-id></result>

2023-08-25 23:02:11 | contains: true

2023-08-25 23:02:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-08-25 23:02:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-25 23:02:16 | [Mutex] waiting for: [user_regular3p2e4w0207@test-domain.com:message:received:content_9s9v6t0211]

2023-08-25 23:02:16 | [Mutex] waiting for: [user_regular3p2e4w0207@test-domain.com:message:received:content_9s9v6t0211]

2023-08-25 23:02:16 | [Mutex] received everything.

2023-08-25 23:02:16 | [Mutex] isItemNotified: user_regular3p2e4w0207@test-domain.com:message:received:content_9s9v6t0211 :: true

2023-08-25 23:02:16 |


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


2023-08-25 23:02:16 | [Mutex] received everything.

2023-08-25 23:02:16 | [Mutex] isItemNotified: node_ulqmub0208:subscribe_node:success :: true

2023-08-25 23:02:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 23:02:16 | command: <data><node>node_ulqmub0208</node><expire-at>2023-08-26T06:02:21Z</expire-at><entry><content>content_et314h0212</content></entry></data>

2023-08-25 23:02:16 | target: http://localhost:8088

2023-08-25 23:02:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-25 23:02:16 | entity: <data><node>node_ulqmub0208</node><expire-at>2023-08-26T06:02:21Z</expire-at><entry><content>content_et314h0212</content></entry></data>

2023-08-25 23:02:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 06:02:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 23:02:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b69894d-eba3-432a-90e2-5526871b4c97</value></item-id></result>

2023-08-25 23:02:16 | contains: true

2023-08-25 23:02:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-08-25 23:02:24 | [Mutex] waiting for: [user_regular3p2e4w0207@test-domain.com:message:received:content_et314h0212]

2023-08-25 23:02:24 | [Mutex] waiting for: [user_regular3p2e4w0207@test-domain.com:message:received:content_et314h0212]

2023-08-25 23:02:24 | [Mutex] waiting for: [user_regular3p2e4w0207@test-domain.com:message:received:content_et314h0212]

2023-08-25 23:02:39 | [Mutex] timeout. Not received [user_regular3p2e4w0207@test-domain.com:message:received:content_et314h0212]

2023-08-25 23:02:39 | [Mutex] received everything.

2023-08-25 23:02:39 | [Mutex] isItemNotified: user_regular3p2e4w0207@test-domain.com:message:received:content_et314h0212 :: false

2023-08-25 23:02:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_et314h0212 :: true