Generated by TestNG with ReportNG at 22:47 PDT on Thursday 15 September 2022
root@7c41cec37518 / Java 17.0.2 (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.783s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.598s
2022-09-15 23:02:56 |

2022-09-15 23:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-15 23:02:56 | ------------------------------------

2022-09-15 23:02:56 | [Mutex] isItemNotified: node_6nbi8i0204:exists :: false

2022-09-15 23:02:56 | [Mutex] waiting for: [node_6nbi8i0204:create_node]

2022-09-15 23:02:56 | [Mutex] received everything.

2022-09-15 23:02:56 | [Mutex] isItemNotified: node_6nbi8i0204:create_node:success :: true

2022-09-15 23:02:56 | [Mutex] waiting for: [node_6nbi8i0204:subscribe_node]

2022-09-15 23:02:56 | [Mutex] received everything.

2022-09-15 23:02:56 | [Mutex] isItemNotified: node_6nbi8i0204:subscribe_node:success :: true

2022-09-15 23:02:56 |


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


2022-09-15 23:02:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-15 23:02:56 | command: <data><node>node_6nbi8i0204</node><entry><content>content_57vh2w0205</content></entry></data>

2022-09-15 23:02:56 | target: http://localhost:8088

2022-09-15 23:02:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-15 23:02:56 | entity: <data><node>node_6nbi8i0204</node><entry><content>content_57vh2w0205</content></entry></data>

2022-09-15 23:02:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 06:02:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-15 23:02:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>464581f0-1856-455e-883e-9c2c6ad66d8b</value></item-id></result>

2022-09-15 23:02:56 | contains: true

2022-09-15 23:02:56 | [Mutex] waiting for: [user_regularpeyx5r0203@test-domain.com:message:received:content_57vh2w0205]

2022-09-15 23:02:56 | [Mutex] received everything.

2022-09-15 23:02:56 | [Mutex] isItemNotified: user_regularpeyx5r0203@test-domain.com:message:received:content_57vh2w0205 :: true

2022-09-15 23:02:56 |


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


2022-09-15 23:02:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-15 23:02:56 | command: <data><node>node_6nbi8i0204</node><expire-at>2022-09-16T06:02:51Z</expire-at><entry><content>content_fpw5ve0206</content></entry></data>

2022-09-15 23:02:56 | target: http://localhost:8088

2022-09-15 23:02:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-15 23:02:56 | entity: <data><node>node_6nbi8i0204</node><expire-at>2022-09-16T06:02:51Z</expire-at><entry><content>content_fpw5ve0206</content></entry></data>

2022-09-15 23:02:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 06:02:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-15 23:02:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>57fec3c3-7925-40fa-9022-e0768adbe3db</value></item-id></result>

2022-09-15 23:02:56 | contains: true

2022-09-15 23:02:56 | [Mutex] waiting for: [user_regularpeyx5r0203@test-domain.com:message:received:content_fpw5ve0206]

2022-09-15 23:03:11 | [Mutex] timeout. Not received [user_regularpeyx5r0203@test-domain.com:message:received:content_fpw5ve0206]

2022-09-15 23:03:11 | [Mutex] isItemNotified: user_regularpeyx5r0203@test-domain.com:message:received:content_fpw5ve0206 :: false

2022-09-15 23:03:11 |


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


2022-09-15 23:03:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-15 23:03:11 | command: <data><node>node_6nbi8i0204</node><entry><content>content_v3ic5b0207</content></entry></data>

2022-09-15 23:03:11 | target: http://localhost:8088

2022-09-15 23:03:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-15 23:03:11 | entity: <data><node>node_6nbi8i0204</node><entry><content>content_v3ic5b0207</content></entry></data>

2022-09-15 23:03:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 06:03:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-15 23:03:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c582e10b-438f-4fde-ac1c-4ea1905b0081</value></item-id></result>

2022-09-15 23:03:11 | contains: true

2022-09-15 23:03:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-15 23:03:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-09-15 23:03:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-15 23:03:16 | [Mutex] waiting for: [user_regularpeyx5r0203@test-domain.com:message:received:content_v3ic5b0207]

2022-09-15 23:03:16 | [Mutex] waiting for: [user_regularpeyx5r0203@test-domain.com:message:received:content_v3ic5b0207]

2022-09-15 23:03:16 | [Mutex] received everything.

2022-09-15 23:03:16 | [Mutex] isItemNotified: user_regularpeyx5r0203@test-domain.com:message:received:content_v3ic5b0207 :: true

2022-09-15 23:03:16 |


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


2022-09-15 23:03:16 | [Mutex] received everything.

2022-09-15 23:03:16 | [Mutex] isItemNotified: node_6nbi8i0204:subscribe_node:success :: true

2022-09-15 23:03:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-15 23:03:16 | command: <data><node>node_6nbi8i0204</node><expire-at>2022-09-16T06:03:21Z</expire-at><entry><content>content_sst50r0208</content></entry></data>

2022-09-15 23:03:16 | target: http://localhost:8088

2022-09-15 23:03:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-15 23:03:16 | entity: <data><node>node_6nbi8i0204</node><expire-at>2022-09-16T06:03:21Z</expire-at><entry><content>content_sst50r0208</content></entry></data>

2022-09-15 23:03:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 06:03:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-15 23:03:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b429eadb-ba9a-4d6f-a57c-e441bd8473b1</value></item-id></result>

2022-09-15 23:03:16 | contains: true

2022-09-15 23:03:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-15 23:03:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-09-15 23:03:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-15 23:03:24 | [Mutex] waiting for: [user_regularpeyx5r0203@test-domain.com:message:received:content_sst50r0208]

2022-09-15 23:03:39 | [Mutex] timeout. Not received [user_regularpeyx5r0203@test-domain.com:message:received:content_sst50r0208]

2022-09-15 23:03:39 | [Mutex] received everything.

2022-09-15 23:03:39 | [Mutex] isItemNotified: user_regularpeyx5r0203@test-domain.com:message:received:content_sst50r0208 :: false

2022-09-15 23:03:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sst50r0208 :: true