{"id":1180,"date":"2015-11-10T18:19:09","date_gmt":"2015-11-10T23:19:09","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=1180"},"modified":"2022-01-03T20:01:40","modified_gmt":"2022-01-04T01:01:40","slug":"webdriver-example-javascript-with-screenshot","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/","title":{"rendered":"WebDriver Example Javascript with ScreenShot"},"content":{"rendered":"<p>Here is an example of a JMeter + WebDriver test written in JavaScript. \u00a0JMeter uses the Java WebDriver. This is a bridge between Javascript and you are scripting java &#8211; http:\/\/jmeter.apache.org\/usermanual\/functions.html#__javaScript<\/p>\n<p>In JMeter the driver is passed into the test.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>WDS object passed\u00a0in<\/strong><\/span><\/p>\n<p>Specifically we are provided an object called WDS with the following properties. \u00a0(from the <a href=\"http:\/\/jmeterplugins.com\/wiki\/WebDriverSampler\/index.html\">docs<\/a>). \u00a0 Take special notice of WDS.browser as this is the WebDriver we use to drive our test.<\/p>\n<ol>\n<li><strong>WDS.name<\/strong> &#8211; is the value provided in the Name field (above).<\/li>\n<li><strong>WDS.parameters<\/strong> &#8211; is the value provided in the Parameters field (above).<\/li>\n<li><strong>WDS.args<\/strong> &#8211; is an array of the strings provided in the <strong>Parameters<\/strong> field, but split by the space &#8216; &#8216; character. This allows the scripter to provide a number of strings as input and access each one by position.<\/li>\n<li><strong>WDS.log<\/strong> &#8211; is a <a href=\"http:\/\/excalibur.apache.org\/apidocs\/org\/apache\/log\/Logger.html\" target=\"_blank\" rel=\"nofollow noopener\">Logger instance<\/a> to allow the scripter to debug their scripts by writing information to the jmeter log file (JMeter provides a <a href=\"http:\/\/jmeter.apache.org\/usermanual\/get-started.html#logging\" target=\"_blank\" rel=\"nofollow noopener\">GUI<\/a> for its log entries)<\/li>\n<li><em><strong>WDS.browser<\/strong> &#8211; is the configured Web Driver browser that the scripter can script and control. There is detailed documentation on this object on the <a href=\"http:\/\/selenium.googlecode.com\/svn\/trunk\/docs\/api\/java\/org\/openqa\/selenium\/WebDriver.html\" target=\"_blank\" rel=\"nofollow noopener\">Selenium Javadocs page<\/a>.<\/em><\/li>\n<li><strong>WDS.sampleResult<\/strong> &#8211; is used to log when the timing should start and end. Furthermore, the scripter can set success\/failure state on this object, and this SampleResult is then used by the JMeter reporting suite. The <a href=\"http:\/\/jmeter.apache.org\/api\/org\/apache\/jmeter\/samplers\/SampleResult.html\" target=\"_blank\" rel=\"nofollow noopener\">JMeter javadocs<\/a> provide more information on the API of this object.<\/li>\n<\/ol>\n<p>WDS.browser is the WebDriver we will use through the test to execute the steps.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Example Results<\/strong><\/span><\/p>\n<ul>\n<li>Example Output &#8211; <a href=\"https:\/\/www.redline13.com\/share\/testplan\/20355\">https:\/\/www.redline13.com\/share\/testplan\/20355<\/a><\/li>\n<li>JMX File for full test &#8211; <a href=\"https:\/\/www.redline13.com\/share\/download\/20355?path=testplan\">https:\/\/www.redline13.com\/share\/download\/20355?path=testplan<\/a><\/li>\n<li><a href=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-6.13.48-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1192\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-6.13.48-PM.png\" alt=\"Screen Shot 2015-11-10 at 6.13.48 PM\" width=\"499\" height=\"472\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-6.13.48-PM.png 1022w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-6.13.48-PM-300x284.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-6.13.48-PM-768x727.png 768w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/li>\n<\/ul>\n<p><span style=\"text-decoration: underline;\"><strong>JMeter Sampler<\/strong><\/span><\/p>\n<ul>\n<li>Selecting\u00a0javascript as the language<\/li>\n<li>Passing in some information via Parameters<\/li>\n<li><a href=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-5.50.55-PM1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1193\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-5.50.55-PM1.png\" alt=\"Screen Shot 2015-11-10 at 5.50.55 PM\" width=\"485\" height=\"199\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-5.50.55-PM1.png 765w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-5.50.55-PM1-300x123.png 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/a><\/li>\n<\/ul>\n<p><span style=\"text-decoration: underline;\"><strong>Code with comments<\/strong><\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\">\/\/ Importing packages (and all classes in package) from Java into Javascript\nvar pkg = JavaImporter(org.openqa.selenium)\nvar support_ui = JavaImporter(org.openqa.selenium.support.ui.WebDriverWait)\n\n\/\/ We don't use wait in this very simple test, but here is way to access for more realistic testing\nvar wait=new support_ui.WebDriverWait(WDS.browser, 5)\n\n\/\/ Start recording the time for this request\nWDS.sampleResult.sampleStart();\n\n\/\/ Let's get a page\nWDS.browser.get(\"https:\/\/www.runsignup.com\/\")\n\n\/\/ We don't record every screenshot as that would be a waste, just a single sample here.\nif ( WDS.args[0] == 1 &amp;&amp; WDS.args[1] == 1 ){\n \/\/ Simple to get the screenshot (full screen shot top to bottom)\n var screenshot = WDS.browser.getScreenshotAs(pkg.OutputType.FILE)\n \/\/ write to disk, note in RedLine13 if you want the file back or rendered on screen it requires outpupt\/ as the path\n screenshot.renameTo(new java.io.File(\"output\/home-\" + WDS.args[0] + \"-\" + WDS.args[1] + \".png\" ))\n}\n\n\/\/ Record the time of the request\nWDS.sampleResult.sampleEnd();\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is an example of a JMeter + WebDriver test written in JavaScript. \u00a0JMeter uses the Java WebDriver. This is a bridge between Javascript and you are scripting java &#8211; http:\/\/jmeter.apache.org\/usermanual\/functions.html#__javaScript In JMeter the driver is passed into the test. WDS object passed\u00a0in Specifically we are provided an object called WDS with the following properties. \u00a0(from the docs). \u00a0 Take special notice of WDS.browser as this is the WebDriver we use to drive our test. WDS.name<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,7,52],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-richardfriedman","4":"post-1180","6":"format-standard","7":"category-blog","8":"category-jmeter","9":"category-webdriver"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WebDriver Example Javascript with ScreenShot - RedLine13<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WebDriver Example Javascript with ScreenShot - RedLine13\" \/>\n<meta property=\"og:description\" content=\"Here is an example of a JMeter + WebDriver test written in JavaScript. \u00a0JMeter uses the Java WebDriver. This is a bridge between Javascript and you are scripting java &#8211; http:\/\/jmeter.apache.org\/usermanual\/functions.html#__javaScript In JMeter the driver is passed into the test. WDS object passed\u00a0in Specifically we are provided an object called WDS with the following properties. \u00a0(from the docs). \u00a0 Take special notice of WDS.browser as this is the WebDriver we use to drive our test. WDS.nameRead More &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-10T23:19:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-04T01:01:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-6.13.48-PM.png\" \/>\n<meta name=\"author\" content=\"Rich Friedman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rich Friedman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/\"},\"author\":{\"name\":\"Rich Friedman\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a\"},\"headline\":\"WebDriver Example Javascript with ScreenShot\",\"datePublished\":\"2015-11-10T23:19:09+00:00\",\"dateModified\":\"2022-01-04T01:01:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/\"},\"wordCount\":318,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"articleSection\":[\"Blog\",\"JMeter\",\"webdriver\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/\",\"name\":\"WebDriver Example Javascript with ScreenShot - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2015-11-10T23:19:09+00:00\",\"dateModified\":\"2022-01-04T01:01:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WebDriver Example Javascript with ScreenShot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"name\":\"RedLine13\",\"description\":\"(Almost) Free Load Testing in the Cloud\",\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.redline13.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\",\"name\":\"RedLine13\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"contentUrl\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"width\":300,\"height\":68,\"caption\":\"RedLine13\"},\"image\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a\",\"name\":\"Rich Friedman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g\",\"caption\":\"Rich Friedman\"},\"sameAs\":[\"http:\/\/richardfriedman@yahoo.com\"],\"url\":\"https:\/\/www.redline13.com\/blog\/author\/richardfriedman\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WebDriver Example Javascript with ScreenShot - RedLine13","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/","og_locale":"en_US","og_type":"article","og_title":"WebDriver Example Javascript with ScreenShot - RedLine13","og_description":"Here is an example of a JMeter + WebDriver test written in JavaScript. \u00a0JMeter uses the Java WebDriver. This is a bridge between Javascript and you are scripting java &#8211; http:\/\/jmeter.apache.org\/usermanual\/functions.html#__javaScript In JMeter the driver is passed into the test. WDS object passed\u00a0in Specifically we are provided an object called WDS with the following properties. \u00a0(from the docs). \u00a0 Take special notice of WDS.browser as this is the WebDriver we use to drive our test. WDS.nameRead More &rarr;","og_url":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/","og_site_name":"RedLine13","article_published_time":"2015-11-10T23:19:09+00:00","article_modified_time":"2022-01-04T01:01:40+00:00","og_image":[{"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2015\/11\/Screen-Shot-2015-11-10-at-6.13.48-PM.png"}],"author":"Rich Friedman","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rich Friedman","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/"},"author":{"name":"Rich Friedman","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a"},"headline":"WebDriver Example Javascript with ScreenShot","datePublished":"2015-11-10T23:19:09+00:00","dateModified":"2022-01-04T01:01:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/"},"wordCount":318,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"articleSection":["Blog","JMeter","webdriver"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/","url":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/","name":"WebDriver Example Javascript with ScreenShot - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2015-11-10T23:19:09+00:00","dateModified":"2022-01-04T01:01:40+00:00","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2015\/11\/webdriver-example-javascript-with-screenshot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WebDriver Example Javascript with ScreenShot"}]},{"@type":"WebSite","@id":"https:\/\/www.redline13.com\/blog\/#website","url":"https:\/\/www.redline13.com\/blog\/","name":"RedLine13","description":"(Almost) Free Load Testing in the Cloud","publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.redline13.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.redline13.com\/blog\/#organization","name":"RedLine13","url":"https:\/\/www.redline13.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","contentUrl":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","width":300,"height":68,"caption":"RedLine13"},"image":{"@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/0fadb7f3ef665407f3c93c8ec84e741a","name":"Rich Friedman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8651ce662fc18353b90c1922f9d29efb01173afa5500224b4d9a355d858a7bd9?s=96&d=mm&r=g","caption":"Rich Friedman"},"sameAs":["http:\/\/richardfriedman@yahoo.com"],"url":"https:\/\/www.redline13.com\/blog\/author\/richardfriedman\/"}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/1180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/comments?post=1180"}],"version-history":[{"count":1,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/1180\/revisions"}],"predecessor-version":[{"id":8695,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/1180\/revisions\/8695"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=1180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=1180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=1180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}