How to represent No-input timeout in Nuance OSDM? - grammar

I am new to Nuance OSDM, I am working on managing timeouts using OSDM.
I am clear with incomplete timeout which occurs between two inputs.
My problem is I need to specify timeout for No-input
eg., IVR should wait for 100 sec to get input from user,
If user enters any input with in 100 secs then it has to be validated.
If user not enters any input with in 100 secs then the IVR has to play No-input prompt.
Any suggestions are acceptable, Please help me to get my issue out.
Thanks in advance.

I am assuming by the tags that you are using for the question that you are using VoiceXML to develop your voice application. You would use the property tag to specify the noinput timeout.
<property name="timeout" value="100s"/>
You can set the scope of how this is timeout is set dependent on where you place the property tag. If you put it as a child of the vxml tag it will have an application scope. If you put it as a child of a form or field it will only apply to that form or field.
If you are using VoiceXML this question is not specific to the speech recognition engine being used.

Related

Change RZ11 Profile parameters programmatically

I was asked by the IT Department to write an ABAP program that switches the profile parameter login/server_logon_restriction from 0 to 1 and back automatically triggered (time etc) on all of our SAP servers.
I am not very familiar in the SAP environment yet and until now I managed to get the wanted parameter by using:
RSAN_SYSTEM_PARAMETERS_GET
and
RSAN_SYSTEM_PARAMETERS_READ
But I cannot find anything to change and save them dynamically. Is this even possible?
Cheers, Nils
login/server_logon_restriction parameter dynamic so you can change it via cl_spfl_profile_parameter=>change_value class method.
You can configure background job for automatically trigger it in t-code SM36.
The method don't save the given value to profile file, so the parameter turn back profile value after system restart.
Current logged-in users can continue to use system. May be you can want to inform them with TH_POPUP function then kick from the system.

Getting metadata (track info, artist name etc.) for radio stream

I have already checked the following links but they weren't much helpful (in parenthesis I've explained why it didn't work in my case as suggested in their answers)
Streams - hasOutOfBandMetadata and getStreamingMetadata (our content is already HLS)
Sonos player not calling GetStreamingMetadata (getMetdata is not called, only getMediaMetada is called since radio stream has unique id and is not a collection)
In Sonos API documentation it is mentioned that "hasOutOfBandMetadata" is deprecated and it is recommended that metadata be embedded inline with the content. However due to some limitations it can't be achieved in our service thus I have to go with the old way itself (whatsoever it is).
I suppose, ideally "getStreamingMetadata" should be called after setting "hasOutOfBandMetadata" to true but it's not happening.
Secondly, for testing purposes I set "secondsRemaining" and "secondsToNextShow" for different values to find out that "description" is also being displayed for those different time intervals (if I set secondsRemaining/secondsToNextShow to 20 then description is displayed for 20 seconds, if set to 200 then for 200 seconds and likewise). After the time lapses, information inside "description" disappears. So I guess there must be some call going to refresh metadata after the time lapses but couldn't figure out which call.
Kindly explain what is the proper way to get metadata for a continuous radio stream. On TuneIn radio you can find Radio Paradise for which metadata is getting updated as track changes. Even if they use metadata inline with their content there must be some way to achieve this.
Can you please post the calls and the the response that you are sending? This would help with troubleshooting this issue. Also what mimeType are you trying to use?
At this time the only full supported method for getting metadata for a continuous radio stream on Sonos that will be guaranteed to work in future releases is to embed metadata in line.

Handling Multiple Correlation IDs in Load Runner

I am a beginner in Load Runner V 11.50. I was scripting a login page and then logout under Action. I applied the correlation from Design Studio. But the problem is, a single ID value is applied to all requests having the ID as parameter. In reality, the ID value generated from 1 request is passed in other and from the later request another ID value is getting generated in passed in rest all requests. So the replay status is failed. I guess multiple correlation is required in this case. Anyone can suggest anything on this?
Thanks in advance.
What you are likely referring to is a state variable, which is generated on page A and passed back on page A+1. You will need to handle this with manual correlation.
Automation in correlation is not meant to replace manual correlation, only to improve the efficiency of the developer when the pattern is well known. In this case because of the constantly changing nature of when a value is populated and used you will need to address this manually.
As you are a beginner, this is an opportunity for your mentor to reground the material from your classroom training and work with you to reinforce your manual correlation processes and skills. If you are being asked to perform without a mentor then your management is setting you up to fail as a new person in this field.
Here is a podcast which should help you on the identification front for manual correlation.
http://www.perfbytes.com/dynamic-data-correlation
Please put web_reg_save_param before each request which is generating dynamic value in this case.
Example:
web_reg_save_param("param1")
A
web_reg_save_param("param2")
B --> Pass {param1} in B
web_reg_save_param("param3")
C --> Pass {param2} in C
and so on...
Also learn capturing various LB/RB,escape sequences,Arguments in correlation etc.
You can try using auto correlation function of load runner for now. But this will not work in all cases. Any how uou need to learn manual correlation methods.
This article will be helpful:http://www.guru99.com/correlation-in-loadrunner-ultimate-guide.html
First you need to practice manual correlation from Generation logs. later on after experience correlations can be done from Tree view.

Worklight - Updatable static content

I have this requirement : My WL application have a set of static pages that might be updated any time. Originally the source of all static content is a desktop page that will be transformed by xsl to a mobile friendly content. The problem that I don't want to do that on each request (HA requirement).
I want to get some inspiration on how to architect that without using direct update mechanism (don't want the end user to get notified of these updates).
I should note that pages will change rarely every few month maybe.
I'm thinking about 2 ways of doing that :
1- Making the transformation on adapter side and rely on WL caching so that transformation is not made each time (does that exist ?). But how the adapter will get notified of page change and flush the cache ? Should I program some advanced java based adapter ? (Storing in the cache and having a kind of a job that scans every day for content changes ?)
2- Doing it mobile side but I don't know how to get notified of changes !
Is your only problem with Worklight's Direct Update that the user is being notified and is required to explicitly approve the transfer?
In this case why not use the option of Silent Direct Update?
The property you're looking for is updateSliently set to true in initOptions.js.
For this to work it is required, obviously, that connectOnStartup will be set to true as well.
perhaps what is doable is to use an adapter to fetch the HTML (or whatever it is) and save it to the device's local storage and then have the app display this content, this way you do not alter the app's web resources and not trigger Direct Update.

JMeter Tests and Non-Static GET/POST Parameters

What's the best strategy to use when writing JMeters tests against a web application where the values of certain query-string and post variables are going to change for each run.
Quick, common, example
You go to a Web Page
Enter some information into a form
Click Save
Behind the scenes, a new record is entered in the database
You want to edit the record you just entered, so you go to another web page. Behind the scenes it's passing the page a parameter with the Database ID of the row you just created
When you're running step 5 of the above test, the page parameter/Database ID is going to change each time.
The workflow/strategy I'm currently using is
Record a test using the above actions
Make a note of each place where a query string variable may change from run to run
Use a XPath or Regular Expression Extractor to pull the value out of a response and into a JMeter variable
Replace all appropriate instances of the hard-coded parameter with the above variable.
This works and can be automated to an extent. However, it can get tedious, is error prone, and fragile. Is there a better/commonly accepted way of handling this situation? (Or is this why most people just use JMeter to play back logs? (-;)
Sounds to me like your on the right track. The best that can be achieved by JMeter is to extract page variables with a regular expression or xpath post processor. However your absolutely correct in that this is not a scalable solution and becomes increasingly tricky to maintain or grow.
If you've reached is point then you may want to consider a tool which is more specialised for this sort of problem. Have a look web testing tool such as Watir, it will automatically handle changing post parameters; but you would still need to extract parameters if you need to do a database update but using Watir allows for better code reuse making the problem less painful.
We have had great success in testing similar scenarios with JMeter by storing parameters in JMeter Variables within a JDBC assertion. We then do our http get/post and use a BSF Assertion and javascript do complex validation of the response. Hope it helps