Generated by TestNG with ReportNG at 22:19 PDT on Tuesday 09 August 2022
root@f9c07ffec79b / 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.870s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.593s
2022-08-09 22:34:32 |

2022-08-09 22:34:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-09 22:34:32 | ------------------------------------

2022-08-09 22:34:32 | [Mutex] isItemNotified: node_f3xt3u0204:exists :: false

2022-08-09 22:34:32 | [Mutex] waiting for: [node_f3xt3u0204:create_node]

2022-08-09 22:34:32 | [Mutex] waiting for: [node_f3xt3u0204:create_node]

2022-08-09 22:34:32 | [Mutex] received everything.

2022-08-09 22:34:32 | [Mutex] isItemNotified: node_f3xt3u0204:create_node:success :: true

2022-08-09 22:34:32 | [Mutex] waiting for: [node_f3xt3u0204:subscribe_node]

2022-08-09 22:34:32 | [Mutex] waiting for: [node_f3xt3u0204:subscribe_node]

2022-08-09 22:34:32 | [Mutex] received everything.

2022-08-09 22:34:32 | [Mutex] isItemNotified: node_f3xt3u0204:subscribe_node:success :: true

2022-08-09 22:34:32 |


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


2022-08-09 22:34:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 22:34:32 | command: <data><node>node_f3xt3u0204</node><entry><content>content_s6gwh60205</content></entry></data>

2022-08-09 22:34:32 | target: http://localhost:8088

2022-08-09 22:34:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-09 22:34:32 | entity: <data><node>node_f3xt3u0204</node><entry><content>content_s6gwh60205</content></entry></data>

2022-08-09 22:34:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 05:34:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 22:34:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0c560f7d-5d87-4e8a-84ae-9a2cf1261a5b</value></item-id></result>

2022-08-09 22:34:32 | contains: true

2022-08-09 22:34:32 | [Mutex] received everything.

2022-08-09 22:34:32 | [Mutex] isItemNotified: user_regulare1v7q0203@test-domain.com:message:received:content_s6gwh60205 :: true

2022-08-09 22:34:32 |


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


2022-08-09 22:34:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 22:34:32 | command: <data><node>node_f3xt3u0204</node><expire-at>2022-08-10T05:34:27Z</expire-at><entry><content>content_s6cquc0206</content></entry></data>

2022-08-09 22:34:32 | target: http://localhost:8088

2022-08-09 22:34:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-09 22:34:32 | entity: <data><node>node_f3xt3u0204</node><expire-at>2022-08-10T05:34:27Z</expire-at><entry><content>content_s6cquc0206</content></entry></data>

2022-08-09 22:34:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 05:34:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 22:34:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>98d48d42-e87b-425f-98c5-820f9594abb1</value></item-id></result>

2022-08-09 22:34:32 | contains: true

2022-08-09 22:34:32 | [Mutex] waiting for: [user_regulare1v7q0203@test-domain.com:message:received:content_s6cquc0206]

2022-08-09 22:34:47 | [Mutex] timeout. Not received [user_regulare1v7q0203@test-domain.com:message:received:content_s6cquc0206]

2022-08-09 22:34:47 | [Mutex] isItemNotified: user_regulare1v7q0203@test-domain.com:message:received:content_s6cquc0206 :: false

2022-08-09 22:34:47 |


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


2022-08-09 22:34:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 22:34:47 | command: <data><node>node_f3xt3u0204</node><entry><content>content_ia94sb0207</content></entry></data>

2022-08-09 22:34:47 | target: http://localhost:8088

2022-08-09 22:34:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-09 22:34:47 | entity: <data><node>node_f3xt3u0204</node><entry><content>content_ia94sb0207</content></entry></data>

2022-08-09 22:34:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 05:34:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 22:34:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5b15204-3089-4d75-88b4-cc0f842ced0e</value></item-id></result>

2022-08-09 22:34:47 | contains: true

2022-08-09 22:34:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-09 22:34:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-09 22:34:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-09 22:34:52 | [Mutex] waiting for: [user_regulare1v7q0203@test-domain.com:message:received:content_ia94sb0207]

2022-08-09 22:34:52 | [Mutex] received everything.

2022-08-09 22:34:52 | [Mutex] isItemNotified: user_regulare1v7q0203@test-domain.com:message:received:content_ia94sb0207 :: true

2022-08-09 22:34:52 |


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


2022-08-09 22:34:52 | [Mutex] received everything.

2022-08-09 22:34:52 | [Mutex] isItemNotified: node_f3xt3u0204:subscribe_node:success :: true

2022-08-09 22:34:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-09 22:34:52 | command: <data><node>node_f3xt3u0204</node><expire-at>2022-08-10T05:34:57Z</expire-at><entry><content>content_r7f5mg0208</content></entry></data>

2022-08-09 22:34:52 | target: http://localhost:8088

2022-08-09 22:34:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-09 22:34:52 | entity: <data><node>node_f3xt3u0204</node><expire-at>2022-08-10T05:34:57Z</expire-at><entry><content>content_r7f5mg0208</content></entry></data>

2022-08-09 22:34:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 05:34:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-09 22:34:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0aea7f4a-7d18-44b3-934e-c18890e8342e</value></item-id></result>

2022-08-09 22:34:52 | contains: true

2022-08-09 22:35:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-09 22:35:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=482 thread=1] DNS entry stored in session object: localhost:5222

2022-08-09 22:35:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=482 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-09 22:35:00 | [Mutex] waiting for: [user_regulare1v7q0203@test-domain.com:message:received:content_r7f5mg0208]

2022-08-09 22:35:15 | [Mutex] timeout. Not received [user_regulare1v7q0203@test-domain.com:message:received:content_r7f5mg0208]

2022-08-09 22:35:15 | [Mutex] received everything.

2022-08-09 22:35:15 | [Mutex] isItemNotified: user_regulare1v7q0203@test-domain.com:message:received:content_r7f5mg0208 :: false

2022-08-09 22:35:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r7f5mg0208 :: true