Generated by TestNG with ReportNG at 21:47 PST on Wednesday 15 February 2023
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.905s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.613s
2023-02-15 22:02:57 |

2023-02-15 22:02:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-15 22:02:57 | ------------------------------------

2023-02-15 22:02:57 | [Mutex] isItemNotified: node_bicmkc0204:exists :: false

2023-02-15 22:02:57 | [Mutex] waiting for: [node_bicmkc0204:create_node]

2023-02-15 22:02:57 | [Mutex] received everything.

2023-02-15 22:02:57 | [Mutex] isItemNotified: node_bicmkc0204:create_node:success :: true

2023-02-15 22:02:57 | [Mutex] waiting for: [node_bicmkc0204:subscribe_node]

2023-02-15 22:02:57 | [Mutex] waiting for: [node_bicmkc0204:subscribe_node]

2023-02-15 22:02:57 | [Mutex] received everything.

2023-02-15 22:02:57 | [Mutex] isItemNotified: node_bicmkc0204:subscribe_node:success :: true

2023-02-15 22:02:57 |


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


2023-02-15 22:02:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 22:02:57 | command: <data><node>node_bicmkc0204</node><entry><content>content_6x18qv0205</content></entry></data>

2023-02-15 22:02:57 | target: http://localhost:8088

2023-02-15 22:02:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-15 22:02:57 | entity: <data><node>node_bicmkc0204</node><entry><content>content_6x18qv0205</content></entry></data>

2023-02-15 22:02:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 06:02:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 22:02:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fd478510-48e5-437f-9f15-2f0d4e41e2ad</value></item-id></result>

2023-02-15 22:02:57 | contains: true

2023-02-15 22:02:57 | [Mutex] received everything.

2023-02-15 22:02:57 | [Mutex] isItemNotified: user_regularynnqas0203@test-domain.com:message:received:content_6x18qv0205 :: true

2023-02-15 22:02:57 |


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


2023-02-15 22:02:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 22:02:57 | command: <data><node>node_bicmkc0204</node><expire-at>2023-02-16T06:02:52Z</expire-at><entry><content>content_kw0ncj0206</content></entry></data>

2023-02-15 22:02:57 | target: http://localhost:8088

2023-02-15 22:02:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-15 22:02:57 | entity: <data><node>node_bicmkc0204</node><expire-at>2023-02-16T06:02:52Z</expire-at><entry><content>content_kw0ncj0206</content></entry></data>

2023-02-15 22:02:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 06:02:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 22:02:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5cfab27d-2bb9-4b91-a9a7-ece206331af7</value></item-id></result>

2023-02-15 22:02:57 | contains: true

2023-02-15 22:02:57 | [Mutex] waiting for: [user_regularynnqas0203@test-domain.com:message:received:content_kw0ncj0206]

2023-02-15 22:03:12 | [Mutex] timeout. Not received [user_regularynnqas0203@test-domain.com:message:received:content_kw0ncj0206]

2023-02-15 22:03:12 | [Mutex] isItemNotified: user_regularynnqas0203@test-domain.com:message:received:content_kw0ncj0206 :: false

2023-02-15 22:03:12 |


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


2023-02-15 22:03:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 22:03:12 | command: <data><node>node_bicmkc0204</node><entry><content>content_38x0270207</content></entry></data>

2023-02-15 22:03:12 | target: http://localhost:8088

2023-02-15 22:03:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-15 22:03:12 | entity: <data><node>node_bicmkc0204</node><entry><content>content_38x0270207</content></entry></data>

2023-02-15 22:03:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 06:03:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 22:03:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e5bc8d59-2b92-4a70-aa6a-c2ea13101343</value></item-id></result>

2023-02-15 22:03:12 | contains: true

2023-02-15 22:03:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-15 22:03:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-02-15 22:03:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-15 22:03:17 | [Mutex] waiting for: [user_regularynnqas0203@test-domain.com:message:received:content_38x0270207]

2023-02-15 22:03:17 | [Mutex] received everything.

2023-02-15 22:03:17 | [Mutex] isItemNotified: user_regularynnqas0203@test-domain.com:message:received:content_38x0270207 :: true

2023-02-15 22:03:17 |


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


2023-02-15 22:03:17 | [Mutex] received everything.

2023-02-15 22:03:17 | [Mutex] isItemNotified: node_bicmkc0204:subscribe_node:success :: true

2023-02-15 22:03:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-15 22:03:17 | command: <data><node>node_bicmkc0204</node><expire-at>2023-02-16T06:03:22Z</expire-at><entry><content>content_bdfn4p0208</content></entry></data>

2023-02-15 22:03:17 | target: http://localhost:8088

2023-02-15 22:03:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-15 22:03:17 | entity: <data><node>node_bicmkc0204</node><expire-at>2023-02-16T06:03:22Z</expire-at><entry><content>content_bdfn4p0208</content></entry></data>

2023-02-15 22:03:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 06:03:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-15 22:03:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8ee31a43-6d56-44ec-b24e-2d7ef06c3115</value></item-id></result>

2023-02-15 22:03:17 | contains: true

2023-02-15 22:03:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-15 22:03:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-15 22:03:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-15 22:03:25 | [Mutex] waiting for: [user_regularynnqas0203@test-domain.com:message:received:content_bdfn4p0208]

2023-02-15 22:03:25 | [Mutex] waiting for: [user_regularynnqas0203@test-domain.com:message:received:content_bdfn4p0208]

2023-02-15 22:03:40 | [Mutex] timeout. Not received [user_regularynnqas0203@test-domain.com:message:received:content_bdfn4p0208]

2023-02-15 22:03:40 | [Mutex] received everything.

2023-02-15 22:03:40 | [Mutex] isItemNotified: user_regularynnqas0203@test-domain.com:message:received:content_bdfn4p0208 :: false

2023-02-15 22:03:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bdfn4p0208 :: true